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:
2026-04-23 20:59:48 +03:30
parent 57f333f5b8
commit e58bcbef57
119 changed files with 2917 additions and 52 deletions
@@ -8,7 +8,7 @@
<img [src]="placeholderLogo" alt="Logo" class="w-full h-full object-cover rounded-md bg-surface-card" />
</div>
@if (posInfo()) {
<span class="text-lg font-bold">{{ posInfo()?.name }} - فروشگاه {{ posInfo()?.complex?.name }}</span>
<span class="text-lg font-bold">{{ posInfo()?.name }} - شعبه {{ posInfo()?.complex?.name }}</span>
}
</div>
<div class="flex gap-2 items-center">
+3 -9
View File
@@ -5,16 +5,10 @@ export interface IPosInfoRawResponse {
complex: {
id: string;
name: string;
tax_id: string;
};
businessActivity: {
id: string;
name: string;
};
guild: {
id: string;
name: string;
branch_code: string;
};
businessActivity: ISummary;
guild: ISummary;
}
export interface IPosInfoResponse extends IPosInfoRawResponse {}