export detail

This commit is contained in:
fuzi_fauzia committed 2024-06-28 08:07:17 +07:00
1 parent be40cea2a1
commit ca30a991ae
9 files changed
+680 -35

No files matched your search

@@ -98,4 +98,14 @@ export class CostManagementService {
});
return this.http.get<any>(url, { headers });
}
getCostDetail(category: any, room: any, period: any): Observable<any> {
const endpoint = `/cost-detail/get/Details`;
const url = `${BASE_URL}${endpoint}?category_id=${category}&room_id=${room}&periode=${period}`;
const headers = new HttpHeaders({
'Content-Type': 'application/json',
'x-api-key': 'j2yaYvPSQcsEEmHh3NEobfiXyyXmmnHT'
});
return this.http.get<any>(url, { headers });
}
}