update sale invoice and payload forms of pos
This commit is contained in:
+3
-3
@@ -16,7 +16,7 @@
|
||||
</div>
|
||||
<hr />
|
||||
<div class="flex items-center justify-center gap-4">
|
||||
@if (['success', 'failure'].includes(saleInvoice.status.value.toLowerCase())) {
|
||||
@if (['success'].includes(saleInvoice.status.value.toLowerCase())) {
|
||||
<p-button
|
||||
label="ابطال"
|
||||
type="button"
|
||||
@@ -33,7 +33,7 @@
|
||||
[loading]="sendingLoading()"
|
||||
[disabled]="onAction()"></p-button>
|
||||
}
|
||||
@if (saleInvoice.status.value.toLowerCase() === 'queued') {
|
||||
@if (['queued', 'fiscal_queued'].includes(saleInvoice.status.value.toLowerCase())) {
|
||||
<p-button
|
||||
label="استعلام وضعیت ارسال"
|
||||
type="button"
|
||||
@@ -42,7 +42,7 @@
|
||||
[loading]="gettingStatusLoading()"
|
||||
[disabled]="onAction()"></p-button>
|
||||
}
|
||||
@if (saleInvoice.status.value.toLowerCase() === 'failure') {
|
||||
@if (saleInvoice.status.value.toLowerCase() === 'send_failure') {
|
||||
<p-button
|
||||
label="ارسال مجدد"
|
||||
type="button"
|
||||
|
||||
Reference in New Issue
Block a user