refactor: restructure order and payload components for improved functionality
- Updated `PosOrderSectionComponent` to emit `onSubmit` instead of `onSuccess` and removed payment form visibility logic. - Deleted unused `payload-form.component.html` and `payload-form.component.ts`. - Introduced `PayloadFormDialogComponent` to handle payload form logic and rapid invoice creation. - Enhanced `PosGoldPayloadFormComponent` and `PosStandardPayloadFormComponent` to support rapid invoice submissions. - Added `PosGoodCategoriesComponent` for better category management in the goods view. - Implemented `FavoriteCTAComponent` for managing favorite goods with loading states. - Created `PosGoodsGridViewComponent` and `PosGoodsListViewComponent` for displaying goods in grid and list formats respectively. - Improved UI elements across various components for consistency and better user experience.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<div class="flex items-center gap-2 overflow-hidden rounded-xl border border-slate-200 bg-white p-2">
|
||||
<div class="border-surface-border bg-surface-card flex items-center gap-2 overflow-hidden rounded-lg border p-2">
|
||||
<p-button icon="pi pi-chevron-right" size="small" text class="shrink-0" (onClick)="prevSeason()" />
|
||||
<div class="flex flex-1 cursor-pointer justify-center" (click)="openPicker()">
|
||||
<span class="text-base font-semibold">{{ currentSeason() }}</span>
|
||||
|
||||
Reference in New Issue
Block a user