Merge branch 'development' of https://gitlab.com/mbugroup/lti-web-client into fix/debt-supplier

This commit is contained in:
randy-ar
2026-01-14 10:41:24 +07:00
15 changed files with 418 additions and 168 deletions
+3 -2
View File
@@ -131,10 +131,11 @@ export class ClosingApiService extends BaseApiService<Closing, null, null> {
}
async getOverhead(
id: number
id: number,
kandangId?: number
): Promise<BaseApiResponse<ClosingOverhead> | undefined> {
try {
const path = `${this.basePath}/${id}/overhead`;
const path = `${this.basePath}/${id}${kandangId ? `/${kandangId}` : ''}/overhead`;
return await httpClient<BaseApiResponse<ClosingOverhead>>(path, {
method: 'GET',
});
+1 -3
View File
@@ -44,9 +44,7 @@ export class MarketingSaleReportService extends BaseApiService<
}
}
export const SaleReportApi = new MarketingSaleReportService(
'reports/marketings'
);
export const SaleReportApi = new MarketingSaleReportService('reports');
// export const SaleReportApi = new MarketingSaleReportService(
// 'http://localhost:4010/api/reports/marketings'