@extends('layouts.admin') @push('script-page') @endpush @section('page-title') {{__('Manage Vendor-Detail')}} @endsection @section('breadcrumb')
{{$vendor->name}}
{{$vendor->email}}
{{$vendor->contact}}
{{$vendor->billing_name}}
{{$vendor->billing_phone}}
{{$vendor->billing_address}}
{{$vendor->billing_zip}}
{{$vendor->billing_city.', '. $vendor->billing_state .', '.$vendor->billing_country}}
{{$vendor->shipping_name}}
{{$vendor->shipping_phone}}
{{$vendor->shipping_address}}
{{$vendor->shipping_zip}}
{{$vendor->shipping_city.', '. $vendor->billing_state .', '.$vendor->billing_country}}
{{__('Vendor Id')}}
{{__('Total Sum of Bills')}}
{{__('Date of Creation')}}
{{__('Quantity of Bills')}}
{{__('Balance')}}
{{__('Average Sales')}}
{{__('Overdue')}}
{{__('Bill')}} | {{__('Bill Date')}} | {{__('Due Date')}} | {{__('Due Amount')}} | {{__('Status')}} | @if(Gate::check('edit bill') || Gate::check('delete bill') || Gate::check('show bill')){{__('Action')}} | @endif
---|---|---|---|---|---|
@if(\Auth::guard('vender')->check()) {{ AUth::user()->billNumberFormat($bill->bill_id) }} @else {{ AUth::user()->billNumberFormat($bill->bill_id) }} @endif | {{ Auth::user()->dateFormat($bill->bill_date) }} |
@if(($bill->due_date < date('Y-m-d')))
{{ \Auth::user()->dateFormat($bill->due_date) }} @else {{ \Auth::user()->dateFormat($bill->due_date) }} @endif |
{{\Auth::user()->priceFormat($bill->getDue()) }} | @if($bill->status == 0) {{ __(\App\Models\Invoice::$statues[$bill->status]) }} @elseif($bill->status == 1) {{ __(\App\Models\Invoice::$statues[$bill->status]) }} @elseif($bill->status == 2) {{ __(\App\Models\Invoice::$statues[$bill->status]) }} @elseif($bill->status == 3) {{ __(\App\Models\Invoice::$statues[$bill->status]) }} @elseif($bill->status == 4) {{ __(\App\Models\Invoice::$statues[$bill->status]) }} @endif | @if(Gate::check('edit bill') || Gate::check('delete bill') || Gate::check('show bill'))@can('duplicate bill') @endcan @can('show bill') @if(\Auth::guard('vender')->check()) @else @endif @endcan @can('edit bill') @endcan @can('delete bill') @endcan | @endif