@extends('admin.layouts.container')

@section('content')
    <div class="side-title">
        <h3>{{$head ?? '' }}</h3>
    </div>

    <div class="border-item">
        <form class="form-row add_consulting_from" autocomplete="off">
                <div class="form-group col-lg-2">
                    <label>{{ meta('consulting_id', $local) ?? __('finishedConsultings.consulting_id') }} </label>
                    <input readonly class="form-control bg-white" value='{{ $finishedConsulting->id ?? "" }}'/>
                </div>
                <div class="form-group col-lg-4">
                    <label>{{ meta('user_name', $local) ?? __('finishedConsultings.user_name') }} </label>
                    <input readonly class="form-control bg-white" value='{{ $finishedConsulting->user_name ?? "" }}'/>
                </div>
                <div class="form-group col-lg-3">
                    <label>{{ meta('user_phone', $local) ?? __('finishedConsultings.user_phone') }} </label>
                    <input readonly class="form-control bg-white" value='{{ $finishedConsulting->user_phone ?? "" }}'/>
                </div>
                <div class="form-group col-lg-3">
                    <label>{{ meta('user_email', $local) ?? __('finishedConsultings.user_email') }} </label>
                    <input readonly class="form-control bg-white" value='{{ $finishedConsulting->user_email ?? "" }}'/>
                </div>
                <div class="form-group col-lg-3">
                    <label>{{ meta('pay_way', $local) ?? __('finishedConsultings.pay_way') }} </label>
                    <input readonly class="form-control bg-white" value='{{ __('finishedConsultings.'.$finishedConsulting->pay_way) ?? "coupon_discount" }}'/>
                </div>
                <div class="form-group col-lg-3">
                    <label>{{ meta('consulting_type', $local) ?? __('finishedConsultings.consulting_type') }} </label>
                    <input readonly class="form-control bg-white" value='{{ __('finishedConsultings.'.$finishedConsulting->consulting_type) ?? "" }}'/>
                </div>
                <div class="form-group col-lg-3">
                    <label>{{ meta('consulting_date', $local) ?? __('finishedConsultings.consulting_date') }} </label>
                    <input readonly class="form-control bg-white" value='{{ $finishedConsulting->consulting_date ?? "" }}'/>
                </div>
                <div class="form-group col-lg-3">
                    <label>{{ meta('consulting_time', $local) ?? __('finishedConsultings.consulting_time') }} </label>
                    <input readonly class="form-control bg-white" value='{{ $finishedConsulting->consulting_time ?? "" }}'/>
                </div>
                <div class="form-group col-lg-6">
                    <label>{{ meta('total', $local) ?? __('finishedConsultings.total') }} </label>
                    <input readonly class="form-control bg-white" value='{{ $finishedConsulting->total ?? "" }}'/>
                </div>
                <div class="form-group col-lg-6">
                    <label>{{ meta('status', $local) ?? __('finishedConsultings.status') }} </label>
                    <input readonly class="form-control bg-white" value='{{__('finishedConsultings.finished')}}'/>
                </div>
                <div class="form-group col-lg-12">
                    <label>{{ meta('consulting_subject', $local) ?? __('finishedConsultings.consulting_subject') }} </label>
                    <textarea cols="30" rows="10" readonly class="form-control bg-white">{{ $finishedConsulting->consulting_subject ?? "" }}</textarea>
                </div>

            <div class="text-center mt-5 col-12">
                <a href="{{$action}}" class="butn"><span>{{ __('finishedConsultings.head') }}</span></a>
            </div>
        </form>
    </div>



@endsection

@section('inner_js')

@endsection



