fix profit value after each order
This commit is contained in:
@@ -144,9 +144,7 @@ class PargarSyncService
|
||||
}
|
||||
|
||||
$direction = (int) ($order->direction ?? 0);
|
||||
$desc = $fromCart
|
||||
? 'سبد خرید'
|
||||
: ($direction === 1 ? 'خرید آبشده' : 'فروش آبشده');
|
||||
$desc = \App\Http\Controllers\Controller::accountingShopTradeDesc($direction, $fromCart);
|
||||
|
||||
return PargarSyncLog::create([
|
||||
'customer_id' => $order->customer_id,
|
||||
|
||||
Reference in New Issue
Block a user