@extends('layouts.app') @section('title', __('app.'.$section)) @section('content')

{{ __('app.'.$section) }}

{{ __('app.manage_master_data') }}

{{ __('app.add_new') }}
@if($section==='models')@endif @if(in_array($section,['suppliers','customers']))@endif @if($section==='customers')@endif @if($section==='users')@endif @if($section==='roles')@endif @if($section==='employees')@endif @if($section==='currencies')@endif @if($section==='countries')@endif @forelse($rows as $row)@if($section==='models')@endif @if(in_array($section,['suppliers','customers']))@endif @if($section==='customers')@endif @if($section==='users')@endif @if($section==='roles')@endif @if($section==='employees')@endif @if($section==='currencies')@endif @if($section==='countries')@endif @empty@endforelse
#{{ __('app.name') }}{{ __('app.brand') }}{{ __('app.phone') }}{{ __('app.country') }}{{ __('app.balance') }}{{ __('app.tazkira') }}{{ __('app.email') }}{{ __('app.role') }}{{ __('app.employee') }}{{ __('app.slug') }}{{ __('app.permissions') }}{{ __('app.phone') }}{{ __('app.position') }}{{ __('app.salary') }}{{ __('app.user') }}{{ __('app.currency_code') }}{{ __('app.symbol') }}{{ __('app.exchange_rate') }}{{ __('app.code') }}{{ __('app.phone_code') }}{{ __('app.status') }}{{ __('app.action') }}
{{ $row->id }}{{ $row->name }}{{ $row->brand->name ?? '-' }}{{ $row->phone }}{{ $row->country ?? '-' }}{{ number_format($row->opening_balance ?? 0,2) }}{{ $row->tazkira ?? '-' }} @if($row->tazkira_scan){{ __('app.file') }}@endif{{ $row->email }}{{ $row->role }}{{ $row->employee->name ?? '-' }}{{ $row->slug }}{{ implode(', ', array_slice($row->permissions ?? [], 0, 6)) }}{{ count($row->permissions ?? []) > 6 ? '...' : '' }}{{ $row->phone }}{{ $row->position }}{{ number_format($row->salary ?? 0,2) }}{{ $row->user->email ?? '-' }}{{ $row->code }}{{ $row->symbol }}{{ $row->exchange_rate }}{{ $row->code }}{{ $row->phone_code }}{{ __('app.'.($row->status ?? 'active')) }} {{ __('app.edit') }}
@csrf @method('delete')
{{ __('app.no_records') }}
{{ $rows->links() }} @endsection