Skip to content

Commit

Permalink
flag disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
hafijul233 committed Feb 4, 2025
1 parent cdfb701 commit 7077ebb
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
14 changes: 7 additions & 7 deletions src/Http/Requests/StoreCashPickupRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,13 @@ protected function prepareForValidation()

$order_data['request_from'] = request()->platform()->value;

if (empty($order_data['business_type'])) {
$order_data['business_type'] = 'personal';
}

if (empty($order_data['transaction_type'])) {
$order_data['transaction_type'] = 'low';
}
// if (empty($order_data['business_type'])) {
// $order_data['business_type'] = 'personal';
// }
//
// if (empty($order_data['transaction_type'])) {
// $order_data['transaction_type'] = 'low';
// }

$this->merge(['order_data' => $order_data]);
}
Expand Down
14 changes: 7 additions & 7 deletions src/Http/Requests/StoreWalletTransferRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,13 @@ protected function prepareForValidation()

$order_data['request_from'] = request()->platform()->value;

if (empty($order_data['business_type'])) {
$order_data['business_type'] = 'personal';
}

if (empty($order_data['transaction_type'])) {
$order_data['transaction_type'] = 'low';
}
// if (empty($order_data['business_type'])) {
// $order_data['business_type'] = 'personal';
// }
//
// if (empty($order_data['transaction_type'])) {
// $order_data['transaction_type'] = 'low';
// }

$this->merge(['order_data' => $order_data]);
}
Expand Down

0 comments on commit 7077ebb

Please sign in to comment.