@include('components.err') @if(cardCount() == 0 )
{{__("There is nothing added to card!")}}
@else {{-- count 0--}}
@csrf check()) :addresses='@json(auth('customer')->user()->addresses)' @endif card-link="{{route('client.product-card-toggle','')}}/" discount-link="{{route('client.card.discount','')}}/" product-link="{{route('client.product','')}}/" :transports='@json(transports())' :def-transport="{{defTrannsport()}}" :can-pay="{{!auth('customer')->check() || auth('customer')->user()->mobile == null || auth('customer')->user()->mobile == '' || auth('customer')->user()->addresses()->count() == 0?'false':'true'}}" >
@if(!auth('customer')->check()) {{__("You need to sign in/up to continue")}} @else {{__("Welcome back")}}: {{auth('customer')->user()->name}} @if(auth('customer')->user()->mobile == null || auth('customer')->user()->mobile == '' || auth('customer')->user()->addresses()->count() == 0) {{__("You need complete your information")}} @endif @endif
@endif {{-- count 0--}}