fix charge account
This commit is contained in:
@@ -444,8 +444,8 @@ class TahesabController extends Controller
|
||||
"created_at" => Carbon::now(),
|
||||
]);
|
||||
|
||||
$price = new ReportController();
|
||||
$prices = $price->lastPrice();
|
||||
$prices = app(ReportController::class)->lastPrice(request());
|
||||
|
||||
$mazaneh = $isDeposit ? (int) $prices['buy'] : (int) $prices['sell'];
|
||||
$mablaghKol = (int) round($mazaneh * $amount);
|
||||
$sharh = !empty($data['desc'])
|
||||
|
||||
Reference in New Issue
Block a user