1780375856a:4:{s:5:"stats";a:8:{s:18:"today_transactions";i:3;s:13:"today_revenue";d:25000;s:12:"today_profit";d:12229;s:18:"month_transactions";i:4;s:13:"month_revenue";d:33000;s:12:"month_profit";d:14454;s:14:"total_products";i:453;s:11:"total_users";i:3;}s:11:"topProducts";O:39:"Illuminate\Database\Eloquent\Collection":2:{s:8:" * items";a:4:{i:0;O:21:"App\Models\SaleDetail":33:{s:13:" * connection";s:5:"mysql";s:8:" * table";s:12:"sale_details";s:13:" * primaryKey";s:2:"id";s:10:" * keyType";s:3:"int";s:12:"incrementing";b:1;s:7:" * with";a:0:{}s:12:" * withCount";a:0:{}s:19:"preventsLazyLoading";b:0;s:10:" * perPage";i:15;s:6:"exists";b:1;s:18:"wasRecentlyCreated";b:0;s:28:" * escapeWhenCastingToString";b:0;s:13:" * attributes";a:3:{s:10:"product_id";s:1:"8";s:9:"total_qty";s:1:"2";s:13:"total_revenue";s:8:"10000.00";}s:11:" * original";a:3:{s:10:"product_id";s:1:"8";s:9:"total_qty";s:1:"2";s:13:"total_revenue";s:8:"10000.00";}s:10:" * changes";a:0:{}s:11:" * previous";a:0:{}s:8:" * casts";a:7:{s:14:"purchase_price";s:9:"decimal:2";s:13:"selling_price";s:9:"decimal:2";s:16:"discount_percent";s:9:"decimal:2";s:15:"discount_amount";s:9:"decimal:2";s:8:"subtotal";s:9:"decimal:2";s:6:"profit";s:9:"decimal:2";s:13:"unit_quantity";s:7:"integer";}s:17:" * classCastCache";a:0:{}s:21:" * attributeCastCache";a:0:{}s:13:" * dateFormat";N;s:10:" * appends";a:0:{}s:19:" * dispatchesEvents";a:0:{}s:14:" * observables";a:0:{}s:12:" * relations";a:1:{s:7:"product";O:18:"App\Models\Product":33:{s:13:" * connection";s:5:"mysql";s:8:" * table";s:8:"products";s:13:" * primaryKey";s:2:"id";s:10:" * keyType";s:3:"int";s:12:"incrementing";b:1;s:7:" * with";a:0:{}s:12:" * withCount";a:0:{}s:19:"preventsLazyLoading";b:0;s:10:" * perPage";i:15;s:6:"exists";b:1;s:18:"wasRecentlyCreated";b:0;s:28:" * escapeWhenCastingToString";b:0;s:13:" * attributes";a:18:{s:2:"id";s:1:"8";s:11:"category_id";s:2:"16";s:4:"name";s:19:"AMLODIPINE TAB 5 MG";s:4:"slug";s:26:"amlodipine-tab-5-mg-njC6Ij";s:7:"barcode";s:13:"8994805003064";s:12:"batch_number";N;s:12:"expired_date";N;s:14:"margin_percent";s:5:"42.94";s:11:"description";N;s:14:"purchase_price";s:4:"3498";s:13:"selling_price";s:4:"5000";s:5:"stock";s:1:"3";s:13:"minimum_stock";s:1:"5";s:4:"unit";s:5:"strip";s:5:"image";N;s:9:"is_active";s:1:"1";s:10:"created_at";s:19:"2026-03-09 10:51:43";s:10:"updated_at";s:19:"2026-06-02 08:08:59";}s:11:" * original";a:18:{s:2:"id";s:1:"8";s:11:"category_id";s:2:"16";s:4:"name";s:19:"AMLODIPINE TAB 5 MG";s:4:"slug";s:26:"amlodipine-tab-5-mg-njC6Ij";s:7:"barcode";s:13:"8994805003064";s:12:"batch_number";N;s:12:"expired_date";N;s:14:"margin_percent";s:5:"42.94";s:11:"description";N;s:14:"purchase_price";s:4:"3498";s:13:"selling_price";s:4:"5000";s:5:"stock";s:1:"3";s:13:"minimum_stock";s:1:"5";s:4:"unit";s:5:"strip";s:5:"image";N;s:9:"is_active";s:1:"1";s:10:"created_at";s:19:"2026-03-09 10:51:43";s:10:"updated_at";s:19:"2026-06-02 08:08:59";}s:10:" * changes";a:0:{}s:11:" * previous";a:0:{}s:8:" * casts";a:5:{s:14:"purchase_price";s:9:"decimal:2";s:13:"selling_price";s:9:"decimal:2";s:14:"margin_percent";s:9:"decimal:2";s:9:"is_active";s:7:"boolean";s:12:"expired_date";s:4:"date";}s:17:" * classCastCache";a:0:{}s:21:" * attributeCastCache";a:0:{}s:13:" * dateFormat";N;s:10:" * appends";a:0:{}s:19:" * dispatchesEvents";a:0:{}s:14:" * observables";a:0:{}s:12:" * relations";a:1:{s:8:"category";O:19:"App\Models\Category":33:{s:13:" * connection";s:5:"mysql";s:8:" * table";s:10:"categories";s:13:" * primaryKey";s:2:"id";s:10:" * keyType";s:3:"int";s:12:"incrementing";b:1;s:7:" * with";a:0:{}s:12:" * withCount";a:0:{}s:19:"preventsLazyLoading";b:0;s:10:" * perPage";i:15;s:6:"exists";b:1;s:18:"wasRecentlyCreated";b:0;s:28:" * escapeWhenCastingToString";b:0;s:13:" * attributes";a:6:{s:2:"id";s:2:"16";s:4:"name";s:14:"Antihipertensi";s:4:"slug";s:14:"antihipertensi";s:11:"description";s:12:"darah tinggi";s:10:"created_at";s:19:"2026-04-07 12:26:20";s:10:"updated_at";s:19:"2026-04-08 17:06:48";}s:11:" * original";a:6:{s:2:"id";s:2:"16";s:4:"name";s:14:"Antihipertensi";s:4:"slug";s:14:"antihipertensi";s:11:"description";s:12:"darah tinggi";s:10:"created_at";s:19:"2026-04-07 12:26:20";s:10:"updated_at";s:19:"2026-04-08 17:06:48";}s:10:" * changes";a:0:{}s:11:" * previous";a:0:{}s:8:" * casts";a:0:{}s:17:" * classCastCache";a:0:{}s:21:" * attributeCastCache";a:0:{}s:13:" * dateFormat";N;s:10:" * appends";a:0:{}s:19:" * dispatchesEvents";a:0:{}s:14:" * observables";a:0:{}s:12:" * relations";a:0:{}s:10:" * touches";a:0:{}s:27:" * relationAutoloadCallback";N;s:26:" * relationAutoloadContext";N;s:10:"timestamps";b:1;s:13:"usesUniqueIds";b:0;s:9:" * hidden";a:0:{}s:10:" * visible";a:0:{}s:11:" * fillable";a:3:{i:0;s:4:"name";i:1;s:4:"slug";i:2;s:11:"description";}s:10:" * guarded";a:1:{i:0;s:1:"*";}}}s:10:" * touches";a:0:{}s:27:" * relationAutoloadCallback";N;s:26:" * relationAutoloadContext";N;s:10:"timestamps";b:1;s:13:"usesUniqueIds";b:0;s:9:" * hidden";a:0:{}s:10:" * visible";a:0:{}s:11:" * fillable";a:15:{i:0;s:11:"category_id";i:1;s:4:"name";i:2;s:4:"slug";i:3;s:7:"barcode";i:4;s:12:"batch_number";i:5;s:12:"expired_date";i:6;s:11:"description";i:7;s:14:"purchase_price";i:8;s:14:"margin_percent";i:9;s:13:"selling_price";i:10;s:5:"stock";i:11;s:13:"minimum_stock";i:12;s:4:"unit";i:13;s:5:"image";i:14;s:9:"is_active";}s:10:" * guarded";a:1:{i:0;s:1:"*";}}}s:10:" * touches";a:0:{}s:27:" * relationAutoloadCallback";N;s:26:" * relationAutoloadContext";N;s:10:"timestamps";b:1;s:13:"usesUniqueIds";b:0;s:9:" * hidden";a:0:{}s:10:" * visible";a:0:{}s:11:" * fillable";a:11:{i:0;s:7:"sale_id";i:1;s:10:"product_id";i:2;s:8:"quantity";i:3;s:14:"purchase_price";i:4;s:13:"selling_price";i:5;s:16:"discount_percent";i:6;s:15:"discount_amount";i:7;s:8:"subtotal";i:8;s:6:"profit";i:9;s:10:"unit_label";i:10;s:13:"unit_quantity";}s:10:" * guarded";a:1:{i:0;s:1:"*";}}i:1;O:21:"App\Models\SaleDetail":33:{s:13:" * connection";s:5:"mysql";s:8:" * table";s:12:"sale_details";s:13:" * primaryKey";s:2:"id";s:10:" * keyType";s:3:"int";s:12:"incrementing";b:1;s:7:" * with";a:0:{}s:12:" * withCount";a:0:{}s:19:"preventsLazyLoading";b:0;s:10:" * perPage";i:15;s:6:"exists";b:1;s:18:"wasRecentlyCreated";b:0;s:28:" * escapeWhenCastingToString";b:0;s:13:" * attributes";a:3:{s:10:"product_id";s:1:"7";s:9:"total_qty";s:1:"1";s:13:"total_revenue";s:7:"7000.00";}s:11:" * original";a:3:{s:10:"product_id";s:1:"7";s:9:"total_qty";s:1:"1";s:13:"total_revenue";s:7:"7000.00";}s:10:" * changes";a:0:{}s:11:" * previous";a:0:{}s:8:" * casts";a:7:{s:14:"purchase_price";s:9:"decimal:2";s:13:"selling_price";s:9:"decimal:2";s:16:"discount_percent";s:9:"decimal:2";s:15:"discount_amount";s:9:"decimal:2";s:8:"subtotal";s:9:"decimal:2";s:6:"profit";s:9:"decimal:2";s:13:"unit_quantity";s:7:"integer";}s:17:" * classCastCache";a:0:{}s:21:" * attributeCastCache";a:0:{}s:13:" * dateFormat";N;s:10:" * appends";a:0:{}s:19:" * dispatchesEvents";a:0:{}s:14:" * observables";a:0:{}s:12:" * relations";a:1:{s:7:"product";O:18:"App\Models\Product":33:{s:13:" * connection";s:5:"mysql";s:8:" * table";s:8:"products";s:13:" * primaryKey";s:2:"id";s:10:" * keyType";s:3:"int";s:12:"incrementing";b:1;s:7:" * with";a:0:{}s:12:" * withCount";a:0:{}s:19:"preventsLazyLoading";b:0;s:10:" * perPage";i:15;s:6:"exists";b:1;s:18:"wasRecentlyCreated";b:0;s:28:" * escapeWhenCastingToString";b:0;s:13:" * attributes";a:18:{s:2:"id";s:1:"7";s:11:"category_id";s:2:"16";s:4:"name";s:20:"AMLODIPINE TAB 10 MG";s:4:"slug";s:27:"amlodipine-tab-10-mg-8PfiCm";s:7:"barcode";s:13:"8994805003163";s:12:"batch_number";N;s:12:"expired_date";N;s:14:"margin_percent";s:5:"32.25";s:11:"description";N;s:14:"purchase_price";s:1:"0";s:13:"selling_price";s:4:"7000";s:5:"stock";s:1:"6";s:13:"minimum_stock";s:1:"5";s:4:"unit";s:5:"strip";s:5:"image";N;s:9:"is_active";s:1:"1";s:10:"created_at";s:19:"2026-03-09 10:51:43";s:10:"updated_at";s:19:"2026-06-02 08:54:34";}s:11:" * original";a:18:{s:2:"id";s:1:"7";s:11:"category_id";s:2:"16";s:4:"name";s:20:"AMLODIPINE TAB 10 MG";s:4:"slug";s:27:"amlodipine-tab-10-mg-8PfiCm";s:7:"barcode";s:13:"8994805003163";s:12:"batch_number";N;s:12:"expired_date";N;s:14:"margin_percent";s:5:"32.25";s:11:"description";N;s:14:"purchase_price";s:1:"0";s:13:"selling_price";s:4:"7000";s:5:"stock";s:1:"6";s:13:"minimum_stock";s:1:"5";s:4:"unit";s:5:"strip";s:5:"image";N;s:9:"is_active";s:1:"1";s:10:"created_at";s:19:"2026-03-09 10:51:43";s:10:"updated_at";s:19:"2026-06-02 08:54:34";}s:10:" * changes";a:0:{}s:11:" * previous";a:0:{}s:8:" * casts";a:5:{s:14:"purchase_price";s:9:"decimal:2";s:13:"selling_price";s:9:"decimal:2";s:14:"margin_percent";s:9:"decimal:2";s:9:"is_active";s:7:"boolean";s:12:"expired_date";s:4:"date";}s:17:" * classCastCache";a:0:{}s:21:" * attributeCastCache";a:0:{}s:13:" * dateFormat";N;s:10:" * appends";a:0:{}s:19:" * dispatchesEvents";a:0:{}s:14:" * observables";a:0:{}s:12:" * relations";a:1:{s:8:"category";r:117;}s:10:" * touches";a:0:{}s:27:" * relationAutoloadCallback";N;s:26:" * relationAutoloadContext";N;s:10:"timestamps";b:1;s:13:"usesUniqueIds";b:0;s:9:" * hidden";a:0:{}s:10:" * visible";a:0:{}s:11:" * fillable";a:15:{i:0;s:11:"category_id";i:1;s:4:"name";i:2;s:4:"slug";i:3;s:7:"barcode";i:4;s:12:"batch_number";i:5;s:12:"expired_date";i:6;s:11:"description";i:7;s:14:"purchase_price";i:8;s:14:"margin_percent";i:9;s:13:"selling_price";i:10;s:5:"stock";i:11;s:13:"minimum_stock";i:12;s:4:"unit";i:13;s:5:"image";i:14;s:9:"is_active";}s:10:" * guarded";a:1:{i:0;s:1:"*";}}}s:10:" * touches";a:0:{}s:27:" * relationAutoloadCallback";N;s:26:" * relationAutoloadContext";N;s:10:"timestamps";b:1;s:13:"usesUniqueIds";b:0;s:9:" * hidden";a:0:{}s:10:" * visible";a:0:{}s:11:" * fillable";a:11:{i:0;s:7:"sale_id";i:1;s:10:"product_id";i:2;s:8:"quantity";i:3;s:14:"purchase_price";i:4;s:13:"selling_price";i:5;s:16:"discount_percent";i:6;s:15:"discount_amount";i:7;s:8:"subtotal";i:8;s:6:"profit";i:9;s:10:"unit_label";i:10;s:13:"unit_quantity";}s:10:" * guarded";a:1:{i:0;s:1:"*";}}i:2;O:21:"App\Models\SaleDetail":33:{s:13:" * connection";s:5:"mysql";s:8:" * table";s:12:"sale_details";s:13:" * primaryKey";s:2:"id";s:10:" * keyType";s:3:"int";s:12:"incrementing";b:1;s:7:" * with";a:0:{}s:12:" * withCount";a:0:{}s:19:"preventsLazyLoading";b:0;s:10:" * perPage";i:15;s:6:"exists";b:1;s:18:"wasRecentlyCreated";b:0;s:28:" * escapeWhenCastingToString";b:0;s:13:" * attributes";a:3:{s:10:"product_id";s:3:"435";s:9:"total_qty";s:1:"1";s:13:"total_revenue";s:7:"8000.00";}s:11:" * original";a:3:{s:10:"product_id";s:3:"435";s:9:"total_qty";s:1:"1";s:13:"total_revenue";s:7:"8000.00";}s:10:" * changes";a:0:{}s:11:" * previous";a:0:{}s:8:" * casts";a:7:{s:14:"purchase_price";s:9:"decimal:2";s:13:"selling_price";s:9:"decimal:2";s:16:"discount_percent";s:9:"decimal:2";s:15:"discount_amount";s:9:"decimal:2";s:8:"subtotal";s:9:"decimal:2";s:6:"profit";s:9:"decimal:2";s:13:"unit_quantity";s:7:"integer";}s:17:" * classCastCache";a:0:{}s:21:" * attributeCastCache";a:0:{}s:13:" * dateFormat";N;s:10:" * appends";a:0:{}s:19:" * dispatchesEvents";a:0:{}s:14:" * observables";a:0:{}s:12:" * relations";a:1:{s:7:"product";O:18:"App\Models\Product":33:{s:13:" * connection";s:5:"mysql";s:8:" * table";s:8:"products";s:13:" * primaryKey";s:2:"id";s:10:" * keyType";s:3:"int";s:12:"incrementing";b:1;s:7:" * with";a:0:{}s:12:" * withCount";a:0:{}s:19:"preventsLazyLoading";b:0;s:10:" * perPage";i:15;s:6:"exists";b:1;s:18:"wasRecentlyCreated";b:0;s:28:" * escapeWhenCastingToString";b:0;s:13:" * attributes";a:18:{s:2:"id";s:3:"435";s:11:"category_id";s:1:"5";s:4:"name";s:10:"VIT D3 IPI";s:4:"slug";s:17:"vit-d3-ipi-YCSJIp";s:7:"barcode";s:13:"8999908984005";s:12:"batch_number";s:6:"030316";s:12:"expired_date";s:10:"2028-03-31";s:14:"margin_percent";s:5:"38.53";s:11:"description";N;s:14:"purchase_price";s:4:"5775";s:13:"selling_price";s:4:"8000";s:5:"stock";s:1:"1";s:13:"minimum_stock";s:1:"5";s:4:"unit";s:5:"BOTOL";s:5:"image";N;s:9:"is_active";s:1:"1";s:10:"created_at";s:19:"2026-05-02 20:49:01";s:10:"updated_at";s:19:"2026-06-01 09:28:49";}s:11:" * original";a:18:{s:2:"id";s:3:"435";s:11:"category_id";s:1:"5";s:4:"name";s:10:"VIT D3 IPI";s:4:"slug";s:17:"vit-d3-ipi-YCSJIp";s:7:"barcode";s:13:"8999908984005";s:12:"batch_number";s:6:"030316";s:12:"expired_date";s:10:"2028-03-31";s:14:"margin_percent";s:5:"38.53";s:11:"description";N;s:14:"purchase_price";s:4:"5775";s:13:"selling_price";s:4:"8000";s:5:"stock";s:1:"1";s:13:"minimum_stock";s:1:"5";s:4:"unit";s:5:"BOTOL";s:5:"image";N;s:9:"is_active";s:1:"1";s:10:"created_at";s:19:"2026-05-02 20:49:01";s:10:"updated_at";s:19:"2026-06-01 09:28:49";}s:10:" * changes";a:0:{}s:11:" * previous";a:0:{}s:8:" * casts";a:5:{s:14:"purchase_price";s:9:"decimal:2";s:13:"selling_price";s:9:"decimal:2";s:14:"margin_percent";s:9:"decimal:2";s:9:"is_active";s:7:"boolean";s:12:"expired_date";s:4:"date";}s:17:" * classCastCache";a:0:{}s:21:" * attributeCastCache";a:0:{}s:13:" * dateFormat";N;s:10:" * appends";a:0:{}s:19:" * dispatchesEvents";a:0:{}s:14:" * observables";a:0:{}s:12:" * relations";a:1:{s:8:"category";O:19:"App\Models\Category":33:{s:13:" * connection";s:5:"mysql";s:8:" * table";s:10:"categories";s:13:" * primaryKey";s:2:"id";s:10:" * keyType";s:3:"int";s:12:"incrementing";b:1;s:7:" * with";a:0:{}s:12:" * withCount";a:0:{}s:19:"preventsLazyLoading";b:0;s:10:" * perPage";i:15;s:6:"exists";b:1;s:18:"wasRecentlyCreated";b:0;s:28:" * escapeWhenCastingToString";b:0;s:13:" * attributes";a:6:{s:2:"id";s:1:"5";s:4:"name";s:18:"Vitamin & Suplemen";s:4:"slug";s:16:"vitamin-suplemen";s:11:"description";N;s:10:"created_at";s:19:"2026-03-09 10:51:42";s:10:"updated_at";s:19:"2026-03-09 10:51:42";}s:11:" * original";a:6:{s:2:"id";s:1:"5";s:4:"name";s:18:"Vitamin & Suplemen";s:4:"slug";s:16:"vitamin-suplemen";s:11:"description";N;s:10:"created_at";s:19:"2026-03-09 10:51:42";s:10:"updated_at";s:19:"2026-03-09 10:51:42";}s:10:" * changes";a:0:{}s:11:" * previous";a:0:{}s:8:" * casts";a:0:{}s:17:" * classCastCache";a:0:{}s:21:" * attributeCastCache";a:0:{}s:13:" * dateFormat";N;s:10:" * appends";a:0:{}s:19:" * dispatchesEvents";a:0:{}s:14:" * observables";a:0:{}s:12:" * relations";a:0:{}s:10:" * touches";a:0:{}s:27:" * relationAutoloadCallback";N;s:26:" * relationAutoloadContext";N;s:10:"timestamps";b:1;s:13:"usesUniqueIds";b:0;s:9:" * hidden";a:0:{}s:10:" * visible";a:0:{}s:11:" * fillable";a:3:{i:0;s:4:"name";i:1;s:4:"slug";i:2;s:11:"description";}s:10:" * guarded";a:1:{i:0;s:1:"*";}}}s:10:" * touches";a:0:{}s:27:" * relationAutoloadCallback";N;s:26:" * relationAutoloadContext";N;s:10:"timestamps";b:1;s:13:"usesUniqueIds";b:0;s:9:" * hidden";a:0:{}s:10:" * visible";a:0:{}s:11:" * fillable";a:15:{i:0;s:11:"category_id";i:1;s:4:"name";i:2;s:4:"slug";i:3;s:7:"barcode";i:4;s:12:"batch_number";i:5;s:12:"expired_date";i:6;s:11:"description";i:7;s:14:"purchase_price";i:8;s:14:"margin_percent";i:9;s:13:"selling_price";i:10;s:5:"stock";i:11;s:13:"minimum_stock";i:12;s:4:"unit";i:13;s:5:"image";i:14;s:9:"is_active";}s:10:" * guarded";a:1:{i:0;s:1:"*";}}}s:10:" * touches";a:0:{}s:27:" * relationAutoloadCallback";N;s:26:" * relationAutoloadContext";N;s:10:"timestamps";b:1;s:13:"usesUniqueIds";b:0;s:9:" * hidden";a:0:{}s:10:" * visible";a:0:{}s:11:" * fillable";a:11:{i:0;s:7:"sale_id";i:1;s:10:"product_id";i:2;s:8:"quantity";i:3;s:14:"purchase_price";i:4;s:13:"selling_price";i:5;s:16:"discount_percent";i:6;s:15:"discount_amount";i:7;s:8:"subtotal";i:8;s:6:"profit";i:9;s:10:"unit_label";i:10;s:13:"unit_quantity";}s:10:" * guarded";a:1:{i:0;s:1:"*";}}i:3;O:21:"App\Models\SaleDetail":33:{s:13:" * connection";s:5:"mysql";s:8:" * table";s:12:"sale_details";s:13:" * primaryKey";s:2:"id";s:10:" * keyType";s:3:"int";s:12:"incrementing";b:1;s:7:" * with";a:0:{}s:12:" * withCount";a:0:{}s:19:"preventsLazyLoading";b:0;s:10:" * perPage";i:15;s:6:"exists";b:1;s:18:"wasRecentlyCreated";b:0;s:28:" * escapeWhenCastingToString";b:0;s:13:" * attributes";a:3:{s:10:"product_id";s:3:"434";s:9:"total_qty";s:1:"1";s:13:"total_revenue";s:7:"8000.00";}s:11:" * original";a:3:{s:10:"product_id";s:3:"434";s:9:"total_qty";s:1:"1";s:13:"total_revenue";s:7:"8000.00";}s:10:" * changes";a:0:{}s:11:" * previous";a:0:{}s:8:" * casts";a:7:{s:14:"purchase_price";s:9:"decimal:2";s:13:"selling_price";s:9:"decimal:2";s:16:"discount_percent";s:9:"decimal:2";s:15:"discount_amount";s:9:"decimal:2";s:8:"subtotal";s:9:"decimal:2";s:6:"profit";s:9:"decimal:2";s:13:"unit_quantity";s:7:"integer";}s:17:" * classCastCache";a:0:{}s:21:" * attributeCastCache";a:0:{}s:13:" * dateFormat";N;s:10:" * appends";a:0:{}s:19:" * dispatchesEvents";a:0:{}s:14:" * observables";a:0:{}s:12:" * relations";a:1:{s:7:"product";O:18:"App\Models\Product":33:{s:13:" * connection";s:5:"mysql";s:8:" * table";s:8:"products";s:13:" * primaryKey";s:2:"id";s:10:" * keyType";s:3:"int";s:12:"incrementing";b:1;s:7:" * with";a:0:{}s:12:" * withCount";a:0:{}s:19:"preventsLazyLoading";b:0;s:10:" * perPage";i:15;s:6:"exists";b:1;s:18:"wasRecentlyCreated";b:0;s:28:" * escapeWhenCastingToString";b:0;s:13:" * attributes";a:18:{s:2:"id";s:3:"434";s:11:"category_id";s:1:"5";s:4:"name";s:9:"VIT C IPI";s:4:"slug";s:16:"vit-c-ipi-FHunUt";s:7:"barcode";s:13:"8999908005205";s:12:"batch_number";s:6:"040746";s:12:"expired_date";s:10:"2028-04-30";s:14:"margin_percent";s:5:"38.53";s:11:"description";N;s:14:"purchase_price";s:4:"5775";s:13:"selling_price";s:4:"8000";s:5:"stock";s:1:"1";s:13:"minimum_stock";s:1:"5";s:4:"unit";s:5:"BOTOL";s:5:"image";N;s:9:"is_active";s:1:"1";s:10:"created_at";s:19:"2026-05-02 20:47:30";s:10:"updated_at";s:19:"2026-06-02 07:33:13";}s:11:" * original";a:18:{s:2:"id";s:3:"434";s:11:"category_id";s:1:"5";s:4:"name";s:9:"VIT C IPI";s:4:"slug";s:16:"vit-c-ipi-FHunUt";s:7:"barcode";s:13:"8999908005205";s:12:"batch_number";s:6:"040746";s:12:"expired_date";s:10:"2028-04-30";s:14:"margin_percent";s:5:"38.53";s:11:"description";N;s:14:"purchase_price";s:4:"5775";s:13:"selling_price";s:4:"8000";s:5:"stock";s:1:"1";s:13:"minimum_stock";s:1:"5";s:4:"unit";s:5:"BOTOL";s:5:"image";N;s:9:"is_active";s:1:"1";s:10:"created_at";s:19:"2026-05-02 20:47:30";s:10:"updated_at";s:19:"2026-06-02 07:33:13";}s:10:" * changes";a:0:{}s:11:" * previous";a:0:{}s:8:" * casts";a:5:{s:14:"purchase_price";s:9:"decimal:2";s:13:"selling_price";s:9:"decimal:2";s:14:"margin_percent";s:9:"decimal:2";s:9:"is_active";s:7:"boolean";s:12:"expired_date";s:4:"date";}s:17:" * classCastCache";a:0:{}s:21:" * attributeCastCache";a:0:{}s:13:" * dateFormat";N;s:10:" * appends";a:0:{}s:19:" * dispatchesEvents";a:0:{}s:14:" * observables";a:0:{}s:12:" * relations";a:1:{s:8:"category";r:468;}s:10:" * touches";a:0:{}s:27:" * relationAutoloadCallback";N;s:26:" * relationAutoloadContext";N;s:10:"timestamps";b:1;s:13:"usesUniqueIds";b:0;s:9:" * hidden";a:0:{}s:10:" * visible";a:0:{}s:11:" * fillable";a:15:{i:0;s:11:"category_id";i:1;s:4:"name";i:2;s:4:"slug";i:3;s:7:"barcode";i:4;s:12:"batch_number";i:5;s:12:"expired_date";i:6;s:11:"description";i:7;s:14:"purchase_price";i:8;s:14:"margin_percent";i:9;s:13:"selling_price";i:10;s:5:"stock";i:11;s:13:"minimum_stock";i:12;s:4:"unit";i:13;s:5:"image";i:14;s:9:"is_active";}s:10:" * guarded";a:1:{i:0;s:1:"*";}}}s:10:" * touches";a:0:{}s:27:" * relationAutoloadCallback";N;s:26:" * relationAutoloadContext";N;s:10:"timestamps";b:1;s:13:"usesUniqueIds";b:0;s:9:" * hidden";a:0:{}s:10:" * visible";a:0:{}s:11:" * fillable";a:11:{i:0;s:7:"sale_id";i:1;s:10:"product_id";i:2;s:8:"quantity";i:3;s:14:"purchase_price";i:4;s:13:"selling_price";i:5;s:16:"discount_percent";i:6;s:15:"discount_amount";i:7;s:8:"subtotal";i:8;s:6:"profit";i:9;s:10:"unit_label";i:10;s:13:"unit_quantity";}s:10:" * guarded";a:1:{i:0;s:1:"*";}}}s:28:" * escapeWhenCastingToString";b:0;}s:10:"weeklyData";O:29:"Illuminate\Support\Collection":2:{s:8:" * items";a:7:{i:0;a:3:{s:4:"date";s:6:"27 May";s:7:"revenue";d:125000;s:6:"profit";d:60026;}i:1;a:3:{s:4:"date";s:6:"28 May";s:7:"revenue";d:23000;s:6:"profit";d:21680;}i:2;a:3:{s:4:"date";s:6:"29 May";s:7:"revenue";d:55000;s:6:"profit";d:55000;}i:3;a:3:{s:4:"date";s:6:"30 May";s:7:"revenue";d:130001;s:6:"profit";d:71703;}i:4;a:3:{s:4:"date";s:6:"31 May";s:7:"revenue";d:46500;s:6:"profit";d:44500;}i:5;a:3:{s:4:"date";s:6:"01 Jun";s:7:"revenue";d:8000;s:6:"profit";d:2225;}i:6;a:3:{s:4:"date";s:6:"02 Jun";s:7:"revenue";i:0;s:6:"profit";i:0;}}s:28:" * escapeWhenCastingToString";b:0;}s:11:"monthlyData";O:29:"Illuminate\Support\Collection":2:{s:8:" * items";a:6:{i:0;a:2:{s:5:"month";s:8:"Jan 2026";s:7:"revenue";i:0;}i:1;a:2:{s:5:"month";s:8:"Feb 2026";s:7:"revenue";i:0;}i:2;a:2:{s:5:"month";s:8:"Mar 2026";s:7:"revenue";d:12000;}i:3;a:2:{s:5:"month";s:8:"Apr 2026";s:7:"revenue";d:2342903;}i:4;a:2:{s:5:"month";s:8:"May 2026";s:7:"revenue";d:1826005;}i:5;a:2:{s:5:"month";s:8:"Jun 2026";s:7:"revenue";d:33000;}}s:28:" * escapeWhenCastingToString";b:0;}}