@extends('layouts/contentLayoutMaster') @section('title', 'IBL Variable Pricing') @section('vendor-style') {{-- vendor css files --}} @endsection @section('content') @php $is_update = 0; @endphp Update Price back {{-- @include('content._partials._sections.base_price_filter') --}} @include('content._partials._sections.add_ibl_variable_price_form') No. Vendor Tanker (Ltrs) Ownership Type Price WEF Remarks Action @foreach ($prices as $key => $price) @php $is_update = $price->update_request ? 1 : 0; $count = count($prices); @endphp {{ $key + 1 }} {{ $price->vendor ? $price->vendor->name : '' }} {{ $price->container_id ? $price->container->capacity : '' }} @php if($price->ownership) { if($price->ownership == 'ffl') { $ownership = 'FFL'; } else if($price->ownership == 'vendor') { $ownership = 'Vendor'; } else { $ownership = ''; } } else { $ownership = ''; } @endphp {!! $ownership !!} {{ 'Km' }} @if ($is_update && !$is_reverted_request) {{ $price->price }}({{ $price->update_price }}) @else {{-- --}} @endif {{ $price->wef ? $price->wef : '' }} {{ $price->initial_remarks ? $price->initial_remarks : 'None' }} {{-- --}} @endforeach {{-- @if (!$is_update || $is_reverted_request) --}} {{-- @endif --}} @endsection @section('vendor-script') @endsection