@extends('layouts.main') @section('page-title') {{ __('Manage Customers') }} @endsection @section('page-breadcrumb') {{ __('Customers') }} @endsection @push('scripts') @endpush @section('page-action')
@endsection @section('content')| # | {{__('Name')}} | {{__('Contact')}} | {{__('Email')}} | {{__('Balance')}} | @if (Gate::check('customer edit') || Gate::check('customer delete') || Gate::check('customer show')){{ __('Action') }} | @endif|
|---|---|---|---|---|---|---|
| @can('customer show') {{ Modules\Account\Entities\Customer::customerNumberFormat($customer['customer_id']) }} @else {{ Modules\Account\Entities\Customer::customerNumberFormat($customer['customer_id']) }} @endcan | @else-- | @endif{{$customer['name']}} | {{$customer['contact']}} | {{$customer['email']}} | {{ currency_format_with_sym($customer['balance'])}} | @if (Gate::check('customer edit') || Gate::check('customer delete') || Gate::check('customer show'))
@if($customer->is_disable == 1)
@if (!empty($customer['customer_id']))
@can('customer show')
@endcan
@endif
@can('customer edit')
@endcan
@if (!empty($customer['customer_id']))
@can('customer delete')
@endcan
@endif
@else
|
@endif