Refactor Dockerfile and update models and frontend components
- Removed the APP_VERSION argument from the Dockerfile and added TARGETARCH for architecture-specific wkhtmltopdf installation. - Updated models.py to reintroduce the import of PartCountry for consistency. - Enhanced parts.ts interface by adding new optional fields: immex_type, disable_movements, pga_program_code, non_discharge_clients, bom_items, and countries. - Changed formType default in partForm.svelte and edit page to 'fa' for better alignment with the intended functionality. - Improved type handling for non_discharge_clients in partForm.svelte. - Adjusted column span logic in partForm.svelte for better rendering. - Fixed image error handling in partForm.svelte for improved user experience. - Updated license expiration date calculation in init_first_time.sh for compatibility with macOS.
This commit is contained in:
@@ -66,6 +66,12 @@ export interface InvData {
|
||||
use_rule_8?: boolean | null;
|
||||
|
||||
fraction_9801?: string | null;
|
||||
immex_type?: string | null;
|
||||
disable_movements?: boolean | null;
|
||||
pga_program_code?: string | null;
|
||||
non_discharge_clients?: unknown[] | null;
|
||||
bom_items?: unknown[] | null;
|
||||
countries?: unknown[] | null;
|
||||
fraction_type?: string | null;
|
||||
use_alternate_quantity?: boolean | null;
|
||||
repair_unit_cost?: number | null;
|
||||
|
||||
Reference in New Issue
Block a user