@extends('layouts.app') @section('title', 'مشتریان') @section('content') @can('customers.manage') مشتری جدید@elseبرای افزودن مشتری دسترسی مدیریت لازم است.@endcan
{{ rm_count($customers->total()) }} مشتری
@if ($customers->count())
@foreach ($customers as $customer) @endforeach
کدنامموبایلسقف اعتبارمانده حسابوضعیت
{{ $customer->code }} {{ $customer->name }} {{ $customer->mobile ?? '-' }} {{ rm_money($customer->credit_limit) }} {{ rm_money($customer->ledgerBalance()) }} {{ $customer->is_active ? 'فعال' : 'غیرفعال' }} پرونده
{{ $customers->links() }} @else @can('customers.manage')ثبت مشتری@endcan @endif
@endsection