feat: refactor dialog components to use light-bottomsheet for improved UX
- Replaced SharedDialogComponent with SharedLightBottomsheetComponent in customer-dialog, order-submitted-dialog, payment form-dialog, and pre-invoice-dialog components. - Updated styles and properties for light-bottomsheet to enhance responsiveness and usability. - Modified payload form components to use measure units instead of unit types for better clarity. - Adjusted form controls to use consistent naming conventions for amounts and percentages. - Enhanced support for overlay options in select components to manage z-index dynamically. - Improved support for RTL layouts in input groups and other components.
This commit is contained in:
+2
-3
@@ -1,6 +1,5 @@
|
||||
import ISummary from '@/core/models/summary';
|
||||
import { TCustomerInfo, TPosOrderGoodPayload } from '@/domains/pos/modules/landing/models';
|
||||
import { UnitType } from '@/utils';
|
||||
|
||||
export interface ISalesInvoicesRawResponse {
|
||||
id: string;
|
||||
@@ -29,7 +28,7 @@ interface Payment {
|
||||
}
|
||||
|
||||
interface Item {
|
||||
unit_type: UnitType;
|
||||
measure_unit: ISummary;
|
||||
discount: string;
|
||||
quantity: string;
|
||||
total_amount: string;
|
||||
@@ -46,6 +45,6 @@ interface Good {
|
||||
barcode: null;
|
||||
local_sku: null;
|
||||
pricing_model: string;
|
||||
unit_type: string;
|
||||
measure_unit: ISummary;
|
||||
category: ISummary;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user