@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', $lang) ?? __('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', $lang) ?? __('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', $lang) ?? __('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', $lang) ?? __('finishedConsultings.user_email') }} </label>
                    <input readonly class="form-control bg-white" value='{{ $finishedConsulting->user_email ?? "" }}'/>
                </div>
                <div class="form-group col-lg-4">
                    <label>{{ meta('pay_way', $lang) ?? __('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', $lang) ?? __('finishedConsultings.consulting_type') }} </label>--}}
{{--                    <input readonly class="form-control bg-white" value='{{ __('finishedConsultings.'.$finishedConsulting->consulting_type) ?? "" }}'/>--}}
{{--                </div>--}}
                <div class="form-group col-lg-4">
                    <label>{{ meta('consulting_date', $lang) ?? __('finishedConsultings.consulting_date') }} </label>
                    <input readonly class="form-control bg-white" value='{{ $finishedConsulting->consulting_date ?? "" }}'/>
                </div>
                <div class="form-group col-lg-4">
                    <label>{{ meta('consulting_time', $lang) ?? __('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', $lang) ?? __('finishedConsultings.total') }} </label>
                    <input readonly class="form-control bg-white" value='{{ $finishedConsulting->total ?? "" }}'/>
                </div>
                <div class="form-group col-lg-6">
                    <label>{{ meta('status', $lang) ?? __('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', $lang) ?? __('finishedConsultings.consulting_subject') }} </label>
                    <textarea rows="5" 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



