@extends('admin.layout') @section('content')

{{ translate('Customers') }}

@if (Session::get('tenant_subscribtion_data')['customers']['belongs_to_subscribtion'] == true && Session::get('tenant_controle_modules')['customers'] == 1)
@if (sizeof($data) > 0) @foreach ($data as $key => $d) @endforeach
{{ translate('Name') }} {{ translate('Phone') }} {{ translate('Email') }} {{ translate('Options') }}
{{ $d->name }} {{ $d->phone }} {{ $d->email }}
{{ $data->links() }}
@else

{{ translate('Do you have any request or inquiries about e-marketing') }}

{{ translate('Marketing expert advice') }}

free consultation
@endif
@else

{{ translate('You need to upgrade to use this feature.') }}

{{ translate('Please Upgrade to use this feature.') }}


{{ translate('Upgrade now') }}
@endif

{{ translate('Add customer') }}

{!! Form::open(['method' => 'post', 'action' => 'Admin\CustomerController@store', 'files' => true, 'id' => 'add_customer_form']) !!}
{!! Form::text('f_name', null, ['class' => 'form-control', 'placeholder' => translate('First name')]) !!}
@error('f_name')
{{ $message }}
@enderror
{!! Form::text('l_name', null, ['class' => 'form-control', 'placeholder' => translate('Last name')]) !!}
@error('l_name')
{{ $message }}
@enderror
{!! Form::email('email', null, ['class' => 'form-control', 'placeholder' => translate('Email')]) !!}
@error('email')
{{ $message }}
@enderror
{!! Form::text('phone', null, ['class' => 'form-control', 'placeholder' => translate('Phone')]) !!}
@error('phone')
{{ $message }}
@enderror
{!! Form::text('fax', null, ['class' => 'form-control', 'placeholder' => translate('Fax')]) !!}
@error('fax')
{{ $message }}
@enderror
{!! Form::date('birth_date', null, ['class' => 'form-control', 'placeholder' => translate('birth_date')]) !!}
@error('birth_date')
{{ $message }}
@enderror
@error('password')
{{ $message }}
@enderror
{{ translate('Gender') }}

{!! Form::checkbox('active', null, 1, ['id' => 'Checkbox_1']) !!}
{!! Form::checkbox('subscribtion_list', null, 1, ['id' => 'Checkbox_2']) !!}
{!! Form::Close() !!}
@endsection @section('script') @if (Session::get('tenant_subscribtion_data')['customers']['belongs_to_subscribtion'] == true && Session::get('tenant_controle_modules')['customers'] == 1) @else @endif @endsection