comment partial refund function

This commit is contained in:
edmondlang
2024-02-21 00:33:08 +08:00
parent 9aa75630ff
commit df17a8497d
2 changed files with 4 additions and 1 deletions
@@ -82,6 +82,7 @@ class CreateSupplierTransactionLogic extends AbstractControllerLogic
$payments = $request->input('payments');
// todo-refund: activate this for partial refund
foreach($payments as $payment){
$payment = $this->fetchesTransaction->execute(['id' => $payment['id']]);
@@ -200,7 +200,9 @@
},
updateList(){
this.$refs.pendingOrdersList.updateFilters({per_page: 10000, status: 2, type: 1, is_not_fully_refunded: true, original_currency_id_in: [this.selectedCurrency.id], transaction_service_id: this.selectedService.id});
// todo-refund: activate this for partial refund
// this.$refs.pendingOrdersList.updateFilters({per_page: 10000, status: 2, type: 1, original_currency_id_in: [this.selectedCurrency.id], transaction_service_id: this.selectedService.id, is_not_fully_refunded: true});
this.$refs.pendingOrdersList.updateFilters({per_page: 10000, status: 2, type: 1, original_currency_id_in: [this.selectedCurrency.id], transaction_service_id: this.selectedService.id});
this.selectedSupplier.status = false;
this.currencyDropdownLaunch.status = false;