@extends('admin::index') @section('content')

{{ $header or trans('admin.title') }} {{ $description or trans('admin.description') }}

@include('partials.breadcrumb')
@include('partials.error') @include('admin::partials.exception') @include('admin::partials.toastr') {{-- MAIN CONTENT --}}
{{ __('Thêm khách hàng') }}
{{ Form::open(array('url' => url()->current(), 'method' => 'get')) }}
{{ Form::close() }} {{ Form::open(array('url' => url()->current(), 'method' => 'get', 'class' => 'form-horizontal')) }}
Sinh nhật
{{ Form::close() }}
@forelse($list as $customer) @empty @endforelse
{{__('Mã')}} {{__('Tên KH')}} {{__('SĐT')}} {{__('Loại KH')}} {{__('Địa chỉ')}} {{__('Birthday')}} {{__('Người thân')}} {{__('Ngày tạo')}}
{{ $customer->id }} {{ $customer->fullname }} {{ $customer->phone }} {{ $customer->type_label }} {{ $customer->address }} {{ $customer->birthday2?$customer->birthday2->format('d/m/Y'):'' }} {{ $customer->dependant }} {{ $customer->updated_at->format('d-m-Y H:i') }}
{{__('Không có dữ liệu')}}
@if(has_paging($list)) @endif
@endsection @php @endphp