@extends('layouts.backend') @php $partyType = [1 => 'RETAILER',2 =>'AGENT', 3 => 'DISTRIBUTOR',4=> 'VENDOR']; $partythrough = [1 => 'DIRECT',2 =>'AGENT', 3 => 'DISTRIBUTOR']; $partybillTo = [1 => 'PARTY',2 =>'AGENT', 3 => 'DISTRIBUTOR']; $GSTType = [1 => 'INCLUSIVE',2 =>'EXCLUSIVE']; $OnTax = [1 => 'ON NET SALE BEFORE TAX',2 =>'MRP']; $PaymentTerm = [1 => 'AGAINST PAYMENT',2 =>'DUE DAYS',3=>'Actual Monthly Sales']; $Partyoffer = [1 => 'COMPANY',2 =>'DISTRIBUTOR', 3 => 'SHARING',4=> 'PARTY',5 => 'N/A']; $discount = [1 => 'CD',2 =>'TD']; $discountOn = [1 => 'MRP',2 =>'WSP',3 => 'N/A']; @endphp @section('mainContentArea')

Manage {{ Route::currentRouteName() == 'partyVendors.index' ? 'Parties' : 'Vendors'}} {{-- --}} Create View Draft {{ Route::currentRouteName() == 'partyVendors.index' ? 'Parties' : 'Vendors'}}

Filter

{{ Route::currentRouteName() == 'partyVendors.index' ? 'Parties' : 'Vendors'}} Status ACTION
@foreach ($parties as $key => $group) @endforeach
S.No. Name Company Name Discount Discount Base Status Actions
{{ $key + $parties->firstItem() }} {{ empty($group->name) ? 'N/A' : $group->name }} {{ empty($group->company_name) ? 'N/A' : $group->company_name }} {{ empty($group->discount) ? 'N/A' : $group->discount }} {{ empty($group->discount_base) ? 'N/A' : $group->discount_base }} @if($group->approve_status == 1) @else @endif Edit
@php if($parties->count() > 0) { @endphp {!! $parties->appends(request()->input())->links() !!} @php } @endphp
@endsection @section('extraJs') @endsection