@extends('companyuser::layouts.master') @section('title', __('sales::customers.Customers')) @section('extra-styles') @endsection {{-- didnt read --}} @push('extra-styles') @endpush @push('extra-scripts') @endpush @if(app()->getlocale() == 'en') @endif @section('breadcrumb') @endsection @section('content')
@can('sales.customers.create') @if ($companyInfo->zatca_comply) @if (gettype($invoiceTypes) == 'string') @else @endif @else @endif @endcan
@can('sales.customers.export') @endcan
@include('companyuser::errors.all') @include('companyuser::errors.lists')
@if($companyInfo->zatca_comply) @endif
@lang('sales::customers.Code') @lang('sales::customers.Customer Name') @lang('sales::customers.Phone') @lang('sales::customers.Email') @lang('sales::customers.Account') @lang('sales::customers.Outstanding Balance') @lang('sales::customers.Status')@lang('sales::customers.Type')@lang('Actions')

@lang('sales::customers.Total Outstanding') :

{{number_format($customersTotalBalance,2)}}

{{---------------- popup to deleted user -------------------------------}} {{-- to the man in the future who wana refactor this popup te be genric in all the system --}} {{-- just take care here there is 2 popups one if the balance is zero and other if balance not zero --}} {{-- delete modal when customer balance not equal zero --}} {{---------------- popup to deactivate customer -------------------------------}}
@endsection @section('extra_scripts')