added percent in product price 4
This commit is contained in:
@@ -201,7 +201,10 @@ class CartController extends Controller
|
||||
->load('items');
|
||||
}
|
||||
|
||||
$wallet = Wallet::where('owner',auth('customer')->id())->whereNull('fund_id')->whereNull('product_id')
|
||||
$wallet = Wallet::where('owner', auth('customer')->id())
|
||||
->where('owner_type', auth('customer')->user()->type)
|
||||
->whereNull('fund_id')
|
||||
->whereNull('product_id')
|
||||
->first();
|
||||
|
||||
if (!$wallet) {
|
||||
|
||||
Reference in New Issue
Block a user