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

{{ __('customer.list.customers') }} {{ __('customer.list.number_of_records') }}: {{ count($objects) }}

@can('create_customer_customer') @endcan
@foreach($objects as $obj) @endforeach
{{ __('customer.list.image') }} {{ __('customer.list.owner_name_surname') }} {{ __('customer.list.email_address') }} {{ __('customer.list.gsm_no') }} {{ __('customer.list.customer_type') }} {{ __('customer.list.status') }}
{{ $obj->first_name }} {{ $obj->last_name }} @if($obj->email) {{ $obj->email }} @else - @endif @if($obj->phone) {{ $obj->phone }} @else - @endif @if($obj->type_name) {{ $obj->type_name }} @else - @endif {{ $obj->status_name }} @can('update_customer_customer') @if($obj->status)@else @endif @endcan @can('update_customer_customer') @endcan @can('delete_customer_customer') @endcan
@endsection @section('css') @endsection @section('js') @endsection