refactor: update labels and translations in various components
Production CI / validate-and-build (push) Failing after 1m2s
Production CI / validate-and-build (push) Failing after 1m2s
- Changed 'تغییر گذرواژه' to 'تغییر رمز عبور' in layout.component.ts - Updated HTML structure in list.component.html and saleInvoices components for consistency and improved styling. - Modified sale-invoice-card.component.html to enhance the display of invoice details. - Adjusted sale-invoice-card.component.ts to handle customer types more effectively. - Enhanced the handling of invoice statuses in saleInvoices components. - Improved layout and styling in shop components for better user experience. - Refactored key-value component for better readability and maintainability. - Updated upload file component to streamline file selection process. - Added new styles in customize.scss and psp.scss for consistent UI. - Adjusted environment configuration for better API endpoint management.
This commit is contained in:
@@ -110,17 +110,6 @@ export class SharedSaleInvoiceSingleViewComponent {
|
||||
showCorrectionForm = signal(false);
|
||||
showReturnFromSaleForm = signal(false);
|
||||
|
||||
constructor() {
|
||||
this.showErrors = this.showErrors.bind(this);
|
||||
this.showRevokeConfirmation = this.showRevokeConfirmation.bind(this);
|
||||
this.showCorrection = this.showCorrection.bind(this);
|
||||
this.showReturnFromSale = this.showReturnFromSale.bind(this);
|
||||
this.printInvoice = this.printInvoice.bind(this);
|
||||
this.send = this.send.bind(this);
|
||||
this.resend = this.resend.bind(this);
|
||||
this.inquiry = this.inquiry.bind(this);
|
||||
}
|
||||
|
||||
showErrors = () => {};
|
||||
inquiry = () => {
|
||||
this.onInquiry.emit();
|
||||
@@ -150,49 +139,49 @@ export class SharedSaleInvoiceSingleViewComponent {
|
||||
icon: 'pi pi-send',
|
||||
neededStatus: TspProviderResponseStatus.SEND_FAILURE,
|
||||
severity: 'info',
|
||||
command: this.resend,
|
||||
command: () => this.resend(),
|
||||
},
|
||||
{
|
||||
label: 'ارسال صورتحساب',
|
||||
icon: 'pi pi-send',
|
||||
neededStatus: TspProviderResponseStatus.NOT_SEND,
|
||||
severity: 'info',
|
||||
command: this.send,
|
||||
command: () => this.send(),
|
||||
},
|
||||
{
|
||||
label: 'استعلام وضعیت',
|
||||
icon: 'pi pi-info',
|
||||
neededStatus: TspProviderResponseStatus.FISCAL_QUEUED,
|
||||
severity: 'info',
|
||||
command: this.inquiry,
|
||||
command: () => this.inquiry(),
|
||||
},
|
||||
{
|
||||
label: 'دلایل خطا',
|
||||
icon: 'pi pi-question',
|
||||
neededStatus: TspProviderResponseStatus.FAILURE,
|
||||
severity: 'danger',
|
||||
command: this.showErrors,
|
||||
command: () => this.showErrors(),
|
||||
},
|
||||
{
|
||||
label: 'ابطال',
|
||||
icon: 'pi pi-eraser',
|
||||
neededStatus: TspProviderResponseStatus.SUCCESS,
|
||||
severity: 'danger',
|
||||
command: this.showRevokeConfirmation,
|
||||
command: () => this.showRevokeConfirmation(),
|
||||
},
|
||||
{
|
||||
label: 'اصلاح',
|
||||
icon: 'pi pi-file-edit',
|
||||
neededStatus: TspProviderResponseStatus.SUCCESS,
|
||||
severity: 'warn',
|
||||
command: this.showCorrection,
|
||||
command: () => this.showCorrection(),
|
||||
},
|
||||
{
|
||||
label: 'برگشت از فروش',
|
||||
icon: 'pi pi-cart-minus',
|
||||
neededStatus: TspProviderResponseStatus.SUCCESS,
|
||||
severity: 'warn',
|
||||
command: this.showReturnFromSale,
|
||||
command: () => this.showReturnFromSale(),
|
||||
},
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user