feat(consumers): implement consumer and POS stores with breadcrumb management
- Added ConsumerStore and PosStore to manage state and data fetching for consumers and POS entities. - Implemented breadcrumb functionality in both stores to enhance navigation. - Created views for consumer accounts, business activities, complexes, and poses with respective components. - Developed single view components for detailed display and editing of consumer and POS data. - Introduced charge account management components in the super admin module, including forms and lists for charge transactions. - Established API routes and services for handling charge account transactions.
This commit is contained in:
+2
-2
@@ -1,7 +1,7 @@
|
||||
export interface IComplexRawResponse {
|
||||
name: string;
|
||||
address: string;
|
||||
tax_id: string;
|
||||
branch_code: string;
|
||||
id: string;
|
||||
}
|
||||
export interface IComplexResponse extends IComplexRawResponse {}
|
||||
@@ -9,5 +9,5 @@ export interface IComplexResponse extends IComplexRawResponse {}
|
||||
export interface IComplexRequest {
|
||||
name: string;
|
||||
address: string;
|
||||
tax_id: string;
|
||||
branch_code: string;
|
||||
}
|
||||
|
||||
@@ -3,10 +3,12 @@ import ISummary from '@/core/models/summary';
|
||||
export interface IBusinessActivityRawResponse {
|
||||
id: string;
|
||||
name: string;
|
||||
economic_code: string;
|
||||
guild: ISummary;
|
||||
}
|
||||
export interface IBusinessActivityResponse extends IBusinessActivityRawResponse {}
|
||||
|
||||
export interface IBusinessActivityRequest {
|
||||
economic_code: string;
|
||||
name: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user