feat: enhance inner pages header with back button functionality and emit event on back click

fix: update total price info handling in correction form and ensure accurate calculations

refactor: streamline sale invoice single view component by extracting info card into a separate component

style: adjust button sizes in payment forms for better UI consistency

feat: implement season picker navigation controls to prevent out-of-bounds selection

fix: improve price formatting utility to handle undefined values gracefully

chore: update environment configuration for API base URL

feat: add navigation service to manage routing history and back navigation
This commit is contained in:
2026-06-11 16:13:48 +03:30
parent 88f45eee38
commit b4cd4c05f2
28 changed files with 526 additions and 310 deletions
@@ -1,3 +1,9 @@
<div class="min-h-dvh p-4">
<shared-sale-invoice-single-view [loading]="loading()" [invoice]="invoice()" />
<p-card class="mb-4">
<div class="flex items-center justify-between">
<span class="text-lg font-bold">صورت‌حساب شماره {{ invoice()?.invoice_number }}</span>
<button pButton type="button" icon="pi pi-share-alt" outlined (onClick)="share()"></button>
</div>
</p-card>
<shared-sale-invoice-single-info-card [loading]="loading()" [invoice]="invoice()" />
</div>