admin frontend elkezdése, járművek tisztázása, frontend fejleszts

This commit is contained in:
Roo
2026-06-15 18:52:38 +00:00
parent ef8df9608c
commit 213ba3b0f1
80 changed files with 11615 additions and 2304 deletions

View File

@@ -9,9 +9,8 @@ export interface AddExpensePayload {
asset_id: string
organization_id?: number | null // Auto-resolved by backend from asset if omitted
category_id: number
cost_type: string
amount_local: number
currency_local?: string
amount_net: number
currency?: string
date: string
mileage_at_cost?: number | null
description?: string | null
@@ -52,9 +51,8 @@ export const useCostStore = defineStore('cost', () => {
const body: Record<string, any> = {
asset_id: payload.asset_id,
category_id: payload.category_id,
cost_type: payload.cost_type,
amount_local: payload.amount_local,
currency_local: payload.currency_local || 'HUF',
amount_net: payload.amount_net,
currency: payload.currency || 'HUF',
date: payload.date,
mileage_at_cost: payload.mileage_at_cost ?? null,
description: payload.description || null,