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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user