added tahesab options

This commit is contained in:
2026-06-25 22:20:40 +03:30
parent 936cc88e53
commit e6e1ff0cc4
11 changed files with 411 additions and 144 deletions
@@ -200,10 +200,9 @@ class SingleOrderController extends Controller
}
if ($config->getString('send_to_tahesab', 'false') === 'true') {
try {
$tahesab = new TahesabController();
$data['tahesab'] = $tahesab->storeTrade($data);
$data['tahesab'] = app(TahesabController::class)->storeTrade($data);
} catch (\Exception $e) {
return response($e->getMessage(), 500);
report($e);
}
}
// $response['reward'] = $this->give_order_reward($data, $wallet, $wallet_interface);