@extends('layouts.app') @section('title', __('messages.Suppliers')) @section('stitle', __('messages.Suppliers')) @section('content')
@if(session()->get('title') == "success") @elseif (session()->get('title') == "error") @endif
@include('supplier.supplier_menu')
@if(isset($data)) @if($data->isEmpty()) @endif @foreach($data as $supplier) @if ($supplier->status =='1') @else @endif @endforeach @elseif(isset($active)) @if($active->isEmpty()) @endif @foreach($active as $activeSupplier) @endforeach @else @if($inactive->isEmpty()) @endif @foreach($inactive as $inactiveSupplier) @endforeach @endif
{{__('messages.name')}} {{__('messages.SupplierCode')}} {{__('messages.Contact')}} {{__('messages.VAT')}} {{__('messages.STATUS')}} {{__('messages.ACTIONS')}}
There is no Supplier yet!
{{$supplier->name}} {{$supplier->supplier_code}} {{$supplier->phone}} {{$supplier->vat}}ActiveInactive {{-- --}} {{-- --}} {{-- --}}
There is no Active Supplier yet!
{{$activeSupplier->name}} {{$activeSupplier->supplier_code}} {{$activeSupplier->phone}} {{$activeSupplier->vat}} Active {{-- --}} {{-- --}} {{-- --}}
There is no Inactive Supplier yet!
{{$inactiveSupplier->name}} {{$inactiveSupplier->supplier_code}} {{$inactiveSupplier->phone}} {{$inactiveSupplier->vat}} Inactive
@endsection @push('my_scripts') @endpush