feat: agregar página de ventas por catálogo
- Agregar CatalogSalesManagement.vue con tabla de ventas - Filtros por texto (ID/cliente) y rango de fechas - Filas expandibles con detalle de productos y datos de envío - Agregar ruta protegida /admin/catalog-sales - Agregar endpoint getCatalogSales() en servicios API - Agregar menú 'Ver Ventas por Catálogo' en NavBar
This commit is contained in:
@@ -110,6 +110,11 @@ class DjangoApi {
|
||||
return this.postRequest(url, {});
|
||||
}
|
||||
|
||||
getCatalogSales() {
|
||||
const url = this.base + "/don_confiao/api/catalog_sales/";
|
||||
return this.getRequest(url);
|
||||
}
|
||||
|
||||
getCurrentUser() {
|
||||
const url = this.base + "/api/users/me/";
|
||||
return this.getRequest(url);
|
||||
|
||||
Reference in New Issue
Block a user