@if(\App\BusinessSetting::where('type', 'razorpay')->first()->value == 1)
@if (Session::has('wallet_discount'))
@if( Session::get('cart_total') == Session::get('wallet_discount') )
@else
@endif
@else
@endif
@endif
@if(\App\BusinessSetting::where('type', 'phiCommerce')->first()->value == 1)
@if ( Session::has('wallet_discount'))
@if( Session::get('cart_total') == Session::get('wallet_discount') )
@else
@endif
@else
@endif
@endif
@if(\App\BusinessSetting::where('type', 'cash_payment')->first()->value == 1)
@php
$digital = 0;
foreach(Session::get('cart') as $cartItem){
if($cartItem['digital'] == 1){
$digital = 1;
}
}
@endphp
@if($digital != 1)
@endif
@endif
@if (Auth::check() && \App\BusinessSetting::where('type', 'wallet_system')->first()->value == 1)
or
{{ translate('Your wallet balance :')}}
@if ( session()->has('wallet_discount') )