Customer Details
Invoices
@if($companyCustomer->Summary['totalBalance'] < 0) Currently the client has an overpayment of Ksh. {{ number_format(abs($companyCustomer->Summary['totalBalance']), 2) }} @endif
Ksh {{ number_format($companyCustomer->Summary['totalExpected'], 2) }}

T. Expected

Ksh {{ number_format($companyCustomer->Summary['totalPaid'], 2) }}

T. Paid

Ksh {{ number_format($companyCustomer->Summary['totalBalance'], 2) }}

T. Balance

Assigned Plans @if(Auth::user()->hasRole('Administrator') || Auth::user()->can('Administer Company') || Auth::user()->can('Internet-Plans.edit')) Add Plan @endif
@if(Auth::user()->hasRole('Administrator') || Auth::user()->can('Administer Company') || Auth::user()->can('Internet-Plans.view'))
    @if(count($companyCustomer->companyCustomerServicePlans) > 0)
    @foreach($companyCustomer->companyCustomerServicePlans as $companyCustomerServicePlan)
  • {{ $companyCustomerServicePlan->companyServicePlan? $companyCustomerServicePlan->profile_name.' ('.$companyCustomerServicePlan->companyServicePlan->name.') ': '' }}
    {{ $companyCustomerServicePlan->companyServicePlan? $companyCustomerServicePlan->companyServicePlan->download_limit: '' }}bps @if($companyCustomerServicePlan->status == 0 && (Auth::user()->hasRole('Administrator') || Auth::user()->can('Administer Company') || Auth::user()->can('Internet-Plans.activate'))) @elseif($companyCustomerServicePlan->status == 1 && (Auth::user()->hasRole('Administrator') || Auth::user()->can('Administer Company') || Auth::user()->can('Internet-Plans.deactivate'))) @endif @if(Auth::user()->hasRole('Administrator') || Auth::user()->can('Administer Company') || Auth::user()->can('Internet-Plans.edit')) @endif
  • @endforeach
    @else
    No plans the moment!
    @endif
@endif