fixed price

This commit is contained in:
2026-06-28 10:51:56 +03:30
parent dec13e8537
commit 14055c5770
4 changed files with 28 additions and 48 deletions
@@ -46,8 +46,6 @@ class SingleOrderController extends Controller
$config->assertTradingOpen();
$config->assertMontzarOrderAllowed((int) ($data['direction'] ?? 0));
// throw new UnprocessableEntityHttpException('به دلیل نوسانات سفارشات بسته میباشد.');
$transactionType = $data['direction'] == 1 ? "خرید" : "فروش";
$customer = Customer::find(auth('customer')->id() ?? ($data['customer_id'] ?? null));