mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-05 10:24:05 +00:00
feat(budget): attach receipts and invoices to expenses
This commit is contained in:
@@ -127,6 +127,15 @@ export interface PackingItem {
|
||||
created_at?: string;
|
||||
}
|
||||
|
||||
export interface BudgetItemReceipt {
|
||||
id: number;
|
||||
filename: string;
|
||||
original_name: string;
|
||||
file_size?: number | null;
|
||||
mime_type?: string | null;
|
||||
url: string;
|
||||
}
|
||||
|
||||
export interface BudgetItem {
|
||||
id: number;
|
||||
trip_id: number;
|
||||
@@ -150,6 +159,7 @@ export interface BudgetItem {
|
||||
created_at?: string;
|
||||
members?: BudgetItemMember[];
|
||||
payers?: BudgetItemPayer[];
|
||||
receipts?: BudgetItemReceipt[];
|
||||
}
|
||||
|
||||
export interface BudgetItemMember {
|
||||
|
||||
Reference in New Issue
Block a user