feat: enhance sale invoice component with dynamic invoice ID handling and navigation improvements
Production CI / validate-and-build (push) Failing after 1m6s

This commit is contained in:
2026-06-17 14:57:44 +03:30
parent 4e4cc08224
commit 93ebc80da3
5 changed files with 50 additions and 57 deletions
@@ -115,16 +115,16 @@ export class SharedSaleInvoiceSingleViewComponent {
private pendingCorrectionSubmitResolver: Maybe<(allowed: boolean, payment?: IPayment) => void> =
null;
publicInvoiceRoute = computed(() => {
get publicInvoiceRoute() {
if (this.invoice) {
return `${window.location.origin}/sale-invoices/${this.invoice.id}`;
}
return '';
});
}
canDoActionOnInvoice = computed(() => {
get canDoActionOnInvoice() {
return !this.invoice?.referenced_by;
});
}
showErrors = () => {};
inquiry = () => {