import { currentDateValue } from "../../lib/format.js"; export function createLoginForm() { return { username: "", password: "" }; } export function createOrderForm() { return { order_date: currentDateValue(), order_no: "", platform: "Trendyol", store_name: "", product_name: "", quantity: 1, order_total: "", unit_sale_price: "", unit_cost: "", commission: "", discount: "", shipping_cost: "", return_shipping_cost: "", penalty: "", cancellation_amount: "", refund_amount: "", other_fees: "", net_platform_amount: "", international_return_fee: "", international_service_fee: "", platform_service_fee: "", notes: "", }; } export function createProductCostForm() { return { product_name: "", unit_cost: "", unit_sale_price: "", }; } export function createCompanyForm() { return { name: "", address: "", tax_number: "", notes: "", }; } export function createTalashPriceForm() { return { company_id: "", effective_date: currentDateValue(), unit_price: "", notes: "", }; } export function createTalashSaleForm() { return { company_id: "", sale_date: currentDateValue(), bag_count: "", unit_price: "", notes: "", }; } export function createTalashUnitCostForm() { return { effective_date: currentDateValue(), cost_per_bag: "", notes: "", }; } export function createTalashExpenseForm() { return { expense_date: currentDateValue(), category: "", amount: "", notes: "", }; } export function createLumberForm() { return { lumber_kind: "serit", tier_id: "", operation_count: "", notes: "", }; } export function createExpenseForm() { return { expense_date: currentDateValue(), mode: "oneoff", template_id: "", category: "", amount: "", notes: "", template_default_amount: "", }; }