feat: rename 'fee' to 'unitPrice' across purchase components and models
- Updated form component to use 'unitPrice' instead of 'fee'. - Adjusted product charge row form fields and templates to reflect the new naming. - Modified receipt template and related components to utilize 'unitPrice'. - Changed models and interfaces to replace 'fee' with 'unitPrice'. - Updated supplier invoice and statistics components to align with the new naming convention. - Added new API routes for dashboard and statistics modules.
This commit is contained in:
+3
-1
@@ -3,6 +3,7 @@ import { BANK_ACCOUNTS_ROUTES } from '@/modules/bankAccounts/constants';
|
||||
import { BANK_BRANCHES_ROUTES } from '@/modules/bankBranches/constants';
|
||||
import { CARDEX_ROUTES } from '@/modules/cardex/constants';
|
||||
import { CUSTOMERS_ROUTES } from '@/modules/customers/constants';
|
||||
import { DASHBOARD_ROUTES } from '@/modules/dashboard/constants';
|
||||
import { INVENTORIES_ROUTES } from '@/modules/inventories/constants';
|
||||
import { POSComponent } from '@/modules/pos/views/pos.component';
|
||||
import { PRODUCT_BRANDS_ROUTES } from '@/modules/productBrands/constants';
|
||||
@@ -21,7 +22,8 @@ export const appRoutes: Routes = [
|
||||
path: '',
|
||||
component: AppLayout,
|
||||
children: [
|
||||
{ path: '', component: Dashboard },
|
||||
{ path: 'ng', component: Dashboard },
|
||||
...DASHBOARD_ROUTES,
|
||||
...USERS_ROUTES,
|
||||
...SUPPLIERS_ROUTES,
|
||||
...PRODUCT_BRANDS_ROUTES,
|
||||
|
||||
Reference in New Issue
Block a user