@extends('admin.layouts.master') @section('content')
{{ $page_heading }}
Back
@php $new_updation = []; @endphp @if(isset($customer) && $customer->new_updation!=null) @php $new_updation = (array)json_decode($customer->new_updation); @endphp @endif
@if (session('error'))
×
{{ session('error') }}
@endif
@csrf
Information
Brand Name *
Brand Name AR*
First Name *
Last Name *
@if($customer->id ==null)
Email *
Password @if ($customer->id == null) * @endif
id == null) required @endif>
@endif
Country Code *
Select Country Code
@foreach ($codes as $country)
country_dial_code == $customer->owner_dial_code ? 'selected' : ($country->country_dial_code == 971 ? 'selected' : '') }}> +{{ $country->country_dial_code }}
@endforeach
Phone *
Gender *
Select
gender == 1 ? 'selected' : '' }}>Male
gender == 2 ? 'selected' : '' }}>Female
gender == 3 ? 'selected' : '' }}>Others
Cuisine *
Select
@php $selectedcuisine = []; @endphp @if($customer) @php $selectedcuisine = explode(",",$customer->cuisine_ids); @endphp @endif @foreach($cuisine as $value)
id,$selectedcuisine)) selected="selected" @endif>{{$value->cuisine_name}}
@endforeach
Other Information
License Expiration Date *
Maintenance Expiration Date *
Agreement Expiration Date *
Preperation Time *
preparation_unit=='mins') selected @endif> Mins
preparation_unit=='hour') selected @endif> Hour
preparation_unit=='day') selected @endif> Day
Order Limit Per Hour
TOM's Margin (%)
Delivery Fee
Allow Order
allow_ordertype==0) selected @endif> Both
allow_ordertype==1) selected @endif> Current Orders
allow_ordertype==2) selected @endif> Scheduled Orders
License Ownership
license_ownership==0) selected @endif> Unset
license_ownership==1) selected @endif> Chef License
license_ownership==2) selected @endif> Tom License
Description(English) *
@if($customer->about_me!=null){{ $customer->about_me }}@elseif(!empty($new_updation) && array_key_exists('about_me',$new_updation)){{$new_updation['about_me']}}@endif
Description(Arabic) *
{{ $customer->about_me_ar }}
Images
Profile Image *
image) data-jqv-required="true" @endif type="file" class="form-control jqv-input jqv-inputboxed formImage image_upload" preview="image_preview" id="image" for="imagePreviewHomepage" placeholder="" name="image" accept=".jpg, .png, .jpeg" value="" @if(empty($customer->id)) required data-parsley-required-message="Select Profile Image" @endif/>
Accepts .jpg, .jpeg, .png formats only.
@if ($customer!=null )
@else
@endif
Cover Image *
id)) required data-parsley-required-message="Select Cover Image" @endif class="form-control jqv-input jqv-inputboxed formImage image_upload" preview="cover_preview" id="cover_image" for="imagePreviewHomepage" placeholder="" name="cover_image" accept=".jpg, .png, .jpeg" value=""/>
Accepts .jpg, .jpeg, .png formats only.
@if ($customer!=null )
@else
@endif
Bank Information
Bank *
Select Bank
@if (!empty($banks)) @foreach ($banks as $row)
id == $customer->bank_id) selected="selected" @endif> {{ $row->name_en }}
@endforeach @endif
Branch *
Account Number *
Beneficiary Name *
IBAN(23 Characters) *
Swift(8 - 11 Characters) *
Timing
Start Time *
End Time *
Weekly Order Mode
weekly_order_mode==1){{ 'checked' }}@endif>
Documents (.png, .jpg, .jpeg, .pdf)
Emirates ID
id)) required data-parsley-required-message="Select Emirates ID" @endif>
@if($customer->id > 0) @if($customer->emirates_id) {!! viewDocument($customer->emirates_id) !!} {!! downloadDocument($customer->emirates_id) !!} @endif @if(!empty($new_updation) && array_key_exists('emirates_id',$new_updation))
{!! viewDocument($new_updation['emirates_id']) !!} {!! downloadDocument($new_updation['emirates_id']) !!}
@endif @endif
Passport
id)) required data-parsley-required-message="Select Passport" @endif>
@if($customer->id > 0) @if($customer->passport) {!! viewDocument($customer->passport) !!} {!! downloadDocument($customer->passport) !!} @endif @endif
Trade License
id)) required data-parsley-required-message="Select Trade License" @endif>
@if($customer->id > 0) @if($customer->license_doc) {!! viewDocument($customer->license_doc) !!} {!! downloadDocument($customer->license_doc) !!} @endif @endif
Bank Account Proof
id)) required data-parsley-required-message="Select Bank Account Proof" @endif>
@if($customer->id > 0) @if($customer->bank_account_proof) {!! viewDocument($customer->bank_account_proof) !!} {!! downloadDocument($customer->bank_account_proof) !!} @endif @endif
Residency Visa
id)) required data-parsley-required-message="Select Residency Visa" @endif>
@if($customer->id > 0) @if($customer->visa_copy) {!! viewDocument($customer->visa_copy) !!} {!! downloadDocument($customer->visa_copy) !!} @endif @endif
Address
Country *
Select Country
@foreach ($countries as $country)
country_id == $customer->country_id ? 'selected' : '' }}> {{ $country->country_name }}
@endforeach
City *
Select City
@foreach ($cities as $city)
id == $customer->city_id ? 'selected' : '' }}> {{ $city->city_name_en }}
@endforeach
Apartment Number
*
Building
*
Street
*
Landmark
Nick Name
Location
*
Approve
@csrf
Approve Confirmation
×
Are you sure you want to proceed?
@endsection @section('footerJs') @endsection