yearMonth split into year + month
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { ObjectId } from "mongodb";
|
||||
import { inter } from "../ui/fonts";
|
||||
|
||||
export interface BillAttachment {
|
||||
fileName: string;
|
||||
@@ -17,8 +18,10 @@ export interface BillingLocation {
|
||||
userEmail?: string | null;
|
||||
/** name of the location */
|
||||
name: string;
|
||||
/** the value is encoded as yyyymm (i.e. 202301) */
|
||||
yearMonth: number;
|
||||
/** billing period year */
|
||||
year: number;
|
||||
/** billing period month */
|
||||
month: number;
|
||||
/** array of bills */
|
||||
bills: Bill[];
|
||||
/** (optional) notes */
|
||||
|
||||
Reference in New Issue
Block a user