@extends('layouts.main') @section('page-title') {{ __('Manage Vendors') }} @endsection @section('page-breadcrumb') {{ __('Vendors') }} @endsection @push('scripts') @endpush @section('page-action')
@endsection @section('content')| # | {{ __('Name') }} | {{ __('Contact') }} | {{ __('Email') }} | {{ __('Balance') }} | @if (Gate::check('vendor edit') || Gate::check('vendor delete') || Gate::check('vendor show')){{ __('Action') }} | @endif|
|---|---|---|---|---|---|---|
| @can('vendor show') {{ Modules\Account\Entities\Vender::vendorNumberFormat($Vendor['vendor_id']) }} @else {{ \Modules\Account\Entities\Vender::vendorNumberFormat($Vendor['vendor_id']) }} @endcan | @else-- | @endif{{ $Vendor['name'] }} | {{ $Vendor['contact'] }} | {{ $Vendor['email'] }} | {{ currency_format_with_sym($Vendor['balance']) }} | @if (Gate::check('vendor edit') || Gate::check('vendor delete') || Gate::check('vendor show'))
@if($Vendor->is_disable == 1)
@if (!empty($Vendor['vendor_id']))
@can('vendor show')
@endcan
@endif
@can('vendor edit')
@endcan
@if (!empty($Vendor['vendor_id']))
@can('vendor delete')
@endcan
@endif
@else
|
@endif