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:
2026-05-24 12:42:21 +03:30
parent f18d7a1f04
commit cdd2bd6bee
30 changed files with 132 additions and 96 deletions
@@ -5,7 +5,7 @@ import { InputComponent } from '../input/input.component';
@Component({
selector: 'field-unit-price',
template: `<app-input
label="قیمت پایه"
label="مبلغ واحد"
[control]="control"
[name]="name"
[hint]="hint"