@extends('layouts.admin.layout') @section('title') {{ $website_lang->where('lang_key','order')->first()->custom_lang }} @endsection @section('admin-content')

{{ $website_lang->where('lang_key','order_id')->first()->custom_lang }}: {{ $order->order_id }}

{{ $website_lang->where('lang_key','client_info')->first()->custom_lang }}
{{ $website_lang->where('lang_key','name')->first()->custom_lang }} {{ ucwords($order->user->name) }}
{{ $website_lang->where('lang_key','email')->first()->custom_lang }} {{ $order->user->email }}
{{ $website_lang->where('lang_key','phone')->first()->custom_lang }} {{ $order->user->phone }}
{{ $website_lang->where('lang_key','age')->first()->custom_lang }} {{ $order->user->age }}
{{ $website_lang->where('lang_key','billing_info')->first()->custom_lang }}
@if ($order->payment_transaction_id) @endif @if ($order->last4) @endif @if ($order->payment_description) @endif
{{ $website_lang->where('lang_key','appointment_fee')->first()->custom_lang }} {{ $currency->currency_icon }}{{ $order->total_payment }}
{{ $website_lang->where('lang_key','payment_method')->first()->custom_lang }} {{ $order->payment_method }}
{{ $website_lang->where('lang_key','tran_id')->first()->custom_lang }} {{ $order->payment_transaction_id }}
{{ $website_lang->where('lang_key','stripe_last_digit')->first()->custom_lang }} {{ $order->last4 }}
{{ $website_lang->where('lang_key','description')->first()->custom_lang }} {!! clean(nl2br(e($order->payment_description))) !!}
{{ $website_lang->where('lang_key','payment_status')->first()->custom_lang }} @if ($order->payment_status==1) {{ $website_lang->where('lang_key','success')->first()->custom_lang }} @else {{ $website_lang->where('lang_key','pending')->first()->custom_lang }} @endif
{{ $website_lang->where('lang_key','app_info')->first()->custom_lang }}
@foreach ($order->appointments as $index => $item) @endforeach
{{ $website_lang->where('lang_key','serial')->first()->custom_lang }} {{ $website_lang->where('lang_key','lawyer')->first()->custom_lang }} {{ $website_lang->where('lang_key','phone')->first()->custom_lang }} {{ $website_lang->where('lang_key','schedule')->first()->custom_lang }} {{ $website_lang->where('lang_key','date')->first()->custom_lang }} {{ $website_lang->where('lang_key','appointment_fee')->first()->custom_lang }}
{{ ++$index }} {{ $item->lawyer->name }} {{ $item->lawyer->phone }} {{ strtoupper($item->schedule->start_time).'-'.strtoupper($item->schedule->end_time) }} {{ date('m-d-Y',strtotime($item->date)) }} {{ $currency->currency_icon }}{{ $item->appointment_fee }}
@if ($order->payment_status==0) {{ $website_lang->where('lang_key','payment_accept')->first()->custom_lang }} @endif {{ $website_lang->where('lang_key','delete_order')->first()->custom_lang }}
@endsection