Merge branch 'dillon/34.8a-enhancement' into vapor/development

This commit is contained in:
Dillon Ngo
2024-11-16 09:17:32 +08:00
6 changed files with 11 additions and 10 deletions
@@ -23,6 +23,7 @@ class PackingListLimitOneByTypeOrderedByInvoiceDate implements Filter
$join->on('transactions.owner_id', '=', 'packing_lists.id');
$join->where('transactions.owner_type', '=', PackingList::class);
$join->where('transactions.status', '=', ApprovalStatus::APPROVED);
$join->whereNull('transactions.deleted_at');
$join->whereRaw('(transactions.type <> 16 OR transactions.id = (
SELECT id FROM transactions WHERE owner_id = packing_lists.id AND type = 16 LIMIT 1
))');
@@ -73,8 +73,8 @@
</div>
<group-payment-form-component :section="section" :company_module_id="company_module_id" :selectedIds="selectedIds" :selectedShippingInvoicesOnlyIds="selectedShippingInvoicesOnlyIds" :sumAmount="parseFloat(sumAmount)" v-on:isPaymentOutdated="paymentOutdated($event)" v-if="showPaymentProceedModal"></group-payment-form-component>
<reload-confirmation-form-component
contentText="Some information has been updated, click 'Yes' to reload page"
buttonText="Yes"
contentText="Some information has been updated, please reload page to continue"
buttonText="Reload Page"
class="text-center"
:section="section"
v-if="showPaymentOutdatedModal"
@@ -198,8 +198,8 @@
</div>
<payment-form-component :data="item" :section="section" v-on:isPaymentOutdated="paymentOutdated($event)" v-if="showPaymentProceedModal"></payment-form-component>
<reload-confirmation-form-component
contentText="Some information has been updated, click 'Yes' to reload page"
buttonText="Yes"
contentText="Some information has been updated, please reload page to continue"
buttonText="Reload Page"
class="text-center"
:section="section"
v-if="showPaymentOutdatedModal"
@@ -286,8 +286,8 @@
</div>
<group-payment-form-component :section="section" :selectedIds="selectedIds" :sumAmount="parseFloat(totalOutstanding.toFixed(2))" :selectedShippingInvoicesOnlyIds="selectedShippingInvoicesOnlyIds" :showManualPayment="true" v-on:isPaymentOutdated="paymentOutdated($event)" v-if="showPaymentProceedModal"></group-payment-form-component>
<reload-confirmation-form-component
contentText="Some information has been updated, click 'Yes' to reload page"
buttonText="Yes"
contentText="Some information has been updated, please reload page to continue"
buttonText="Reload Page"
class="text-center"
:section="section"
v-if="showPaymentOutdatedModal"
@@ -222,8 +222,8 @@
</div>
<group-payment-form-component :section="section" :selectedIds="selectedIds" :sumAmount="parseFloat(totalOutstanding.toFixed(2))" :selectedShippingInvoicesOnlyIds="selectedShippingInvoicesOnlyIds" :showManualPayment="true" v-on:isPaymentOutdated="paymentOutdated($event)" v-if="showPaymentProceedModal"></group-payment-form-component>
<reload-confirmation-form-component
contentText="Some information has been updated, click 'Yes' to reload page"
buttonText="Yes"
contentText="Some information has been updated, please reload page to continue"
buttonText="Reload Page"
class="text-center"
:section="section"
v-if="showPaymentOutdatedModal"
@@ -274,8 +274,8 @@
</div>
<payment-form-component :data="item.shipping_transaction" :section="section" v-on:isPaymentOutdated="paymentOutdated($event)" v-if="showPaymentProceedModal"></payment-form-component>
<reload-confirmation-form-component
contentText="Some information has been updated, click 'Yes' to reload page"
buttonText="Yes"
contentText="Some information has been updated, please reload page to continue"
buttonText="Reload Page"
class="text-center"
:section="section"
v-if="showPaymentOutdatedModal"