Bill Edit Form: dovršen fetch

This commit is contained in:
2024-01-04 15:38:58 +01:00
parent f11987dd3a
commit 76ddedf652
7 changed files with 75 additions and 16 deletions

View File

@@ -1,7 +1,7 @@
import { ObjectId } from "mongodb";
export interface Location {
id: ObjectId;
_id: string;
name: string;
bills: Bill[];
/** the value is encoded as yyyymm (i.e. 202301) */
@@ -9,7 +9,7 @@ export interface Location {
};
export interface Bill {
id: ObjectId;
_id: ObjectId;
name: string;
paid: boolean;
document?: string|null;