import { BaseApiResponse } from '@/types/api/api-general'; import { DailyMarketingReport } from '@/types/api/report/marketing'; // TODO: delete this later export const DAILY_MARKETING_DUMMY_DATA: BaseApiResponse = { code: 200, status: 'success', message: 'Get daily marketing report successfully', meta: { page: 1, limit: 10, total_pages: 1, total_results: 2, }, data: { rows: [ { // metadata created_user: { id: 1, id_user: 101, email: 'admin@example.com', name: 'Admin User', }, created_at: '2025-12-01T08:00:00Z', updated_at: '2025-12-01T08:00:00Z', // row data no: 1, so_date: '2025-12-01', do_date: '2025-12-08', aging_days: 7, warehouse: { id: 1, name: 'Warehouse Kandang A', type: 'KANDANG', area: { id: 1, name: 'Area Barat', }, location: { id: 1, name: 'Farm Bandung', address: 'Jl. Raya Farm No. 1', area: null, }, kandang: { id: 1, name: 'Kandang A1', status: 'ACTIVE', capacity: 5000, location: null, pic: null, }, }, customer: { id: 1, name: 'PT Maju Jaya', pic_id: 10, pic: { id: 10, id_user: 210, email: 'pic@majujaya.com', name: 'Budi Santoso', }, type: 'BROILER', address: 'Jl. Industri No. 10', phone: '08123456789', email: 'contact@majujaya.com', account_number: '1234567890', }, sales: 'Andi Wijaya', product: { id: 1, name: 'Live Chicken', brand: 'LTI Farm', sku: 'LC-001', product_price: 18_000, selling_price: 20_000, tax: 0, expiry_period: 0, uom: { id: 1, name: 'Kg', created_user: { id: 1, id_user: 101, email: 'admin@example.com', name: 'Admin User', }, created_at: '2025-01-01T00:00:00Z', updated_at: '2025-01-01T00:00:00Z', }, product_category: { id: 1, code: 'BROILER', name: 'Broiler Chicken', created_user: { id: 1, id_user: 101, email: 'admin@example.com', name: 'Admin User', }, created_at: '2025-01-01T00:00:00Z', updated_at: '2025-01-01T00:00:00Z', }, suppliers: [], flags: ['LIVE'], }, do_number: 'DO-2025-0001', vehicle_number: 'B 1234 CD', marketing_type: 'REGULAR', qty: 1000, average_weight_kg: 1.8, total_weight_kg: 1800, sales_price_per_kg: 20_000, hpp_price_per_kg: 18_000, sales_amount: 36_000_000, hpp_amount: 32_400_000, }, ], summary: { total_qty: 1000, total_weight_kg: 1800, total_sales_amount: 36_000_000, total_hpp_amount: 32_400_000, }, }, };