@if(Auth::guard('customer')->user()->name == null || Auth::guard('customer')->user()->name == '')
{{__("Dear customer, Please complete your information")}}
@else
{{__("Hello")}}, {{Auth::guard('customer')->user()->name}}
@endif
@if (\App\Helpers\cardCount() > 0)
{{__("You have got :count products in your basket, Could you complete your purchase?",['count'=>\App\Helpers\cardCount()])}}
{{__("Complete your purchase")}}
@endif
@include('starter-kit::component.err')
{{__("Complete your purchase")}}
- {{__("Profile")}}
- {{__("Your invoices")}}
- {{__("Tickets")}}
- {{__("Send new ticket")}} @if(!(auth('customer')->user()->colleague??null))
- {{__("Application request")}} @endif
- {{__("Credit")}}
- {{__("Favorites")}}
- {{__("Addresses")}}
- {{__("Logout")}}
# | {{__("Products")}} | {{__("Total Price")}} | {{__("Status")}} | {{__("Ref ID")}} | {{__("Created At")}} | |
---|---|---|---|---|---|---|
{{$loop->index+1}} | {{$invoice->products->implode('name','، ')}} @if($invoice->invoice != null) [ {{__("Belong to")}} ] @endif | {{number_format($invoice->total_price)}} {{config('app.currency_type')}} | {{__($invoice->status)}} - {{$invoice->successPayments->implode('type')}} | {{($invoice->successPayments->first()->reference_id??'-')}} | {{$invoice->created_at->diffForHumans()}} | @if($invoice->status===\App\Models\Invoice::PENDING || $invoice->status===\App\Models\Invoice::FAILED) @else @endif |
{{__("Credit")}}
{{__("Your credit")}}: {{number_format(auth('customer')->user()->credit)}} {{config('app.currency_type')}}
تاریخچه استفاده اعتبار
-
@foreach(auth('customer')->user()->credits as $c)
-
مبلغ {{number_format($c->amount)}} {{config('app.currency_type')}}{{__("Pay by credit")}}: {{number_format($c->invoice->credit_price)}} {{config('app.currency_type')}}{{__("Price")}} {{number_format($c->invoice->total_price)}} {{config('app.currency_type')}}
@endforeach
{{__("Title")}} | {{__("Status")}} | {{__("Last update")}} | - |
---|---|---|---|
{{$ticket->title}} | {{__($ticket->status)}} | {{$ticket->updated_at->diffForHumans()}} | {{__("Show")}} |
@foreach(auth('customer')->user()->products as $p)
@include('website.component.pro',['p' => $p])
@endforeach