Spaces:
Running
Running
Mhamdans17
feat: owner POS branch switcher, NIB renamed to bank_account_number, branch filter orders/kasir
454ca1f | import api from './axios'; | |
| export const getDailyReport = (date, branchId) => | |
| api.get('/api/reports/daily', { params: { ...(date ? { date } : {}), ...(branchId ? { branch_id: branchId } : {}) } }); | |
| export const getSummary = (branchId) => | |
| api.get('/api/reports/summary', { params: branchId ? { branch_id: branchId } : {} }); | |