@extends('layouts/contentLayoutMaster') @section('title', 'Edit 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_base_price_form') No. Area Office Source Supplier Collection Point Price Expected Volume Remarks Action @foreach ($prices as $key => $price) @php $is_update = $price->update_request ? 1 : 0; @endphp {{ $key + 1 }} {{ $price->areaOffice ? $price->areaOffice->name : '' }} {{ $price->source ? $price->source->name : '' }} {{ $price->suplier ? $price->suplier->name : '' }} {{ $price->collPoint ? $price->collPoint->name : '' }} @if ($is_update && !$is_reverted_request) {{ $price->price }}({{ $price->update_price }}) @else {{-- --}} @endif @if ($is_update && !$is_reverted_request) {{ $price->volume }}({{ $price->update_volume }}) @else @endif {{ $price->initial_remarks ? $price->initial_remarks : null }} @endforeach @if (!$is_update || $is_reverted_request) @endif @endsection @section('vendor-script') @endsection