@extends('layouts.admin') @php $profile = asset(Storage::url('uploads/avatar/')); @endphp @push('script-page') @endpush @section('page-title') {{ __('Manage Customers') }} @endsection @section('breadcrumb')
| # | {{ __('Name') }} | {{ __('Contact') }} | {{ __('Email') }} | {{ __('Balance') }} | {{ __('Last Login') }} | {{ __('Action') }} |
|---|---|---|---|---|---|---|
| @can('show customer') {{ AUth::user()->customerNumberFormat($customer['customer_id']) }} @else {{ AUth::user()->customerNumberFormat($customer['customer_id']) }} @endcan | {{ $customer['name'] }} | {{ $customer['contact'] }} | {{ $customer['email'] }} | {{ \Auth::user()->priceFormat($customer['balance']) }} | {{ !empty($customer->last_login_at) ? $customer->last_login_at : '-' }} | @if ($customer['is_active'] == 0) @else @if ($customer->is_enable_login == 0 && $customer->password == null) @endif @can('show customer') @endcan @can('edit customer') @endcan @can('delete customer') @endcan @endif |