@extends('layouts.app') @section('title', __('Customers')) @section('content')
{{ __('Customers') }}
@can('add customer') @endcan
@foreach($customers as $customer) @endforeach
# {{ __('Name') }} {{ __('Type') }} {{ __('Balance') }} {{ __('Customer Action') }}
{{ $loop->iteration }} {{ $customer->name }} {{ $customer->type }} {{ $customer->amount }}
@can('view customer') @endcan @unless($customer->id == 1) @can('update customer') @endcan @endunless
@can('view project') @unless($customer->id == 1) @endunless @endcan @can('view invoice') @endcan
@endsection