@extends('operations.layout.mainlayout') @section('content')

Change Client


Reservation ID
To Client
@if(isset($responses) && !empty($responses) && !$responses->isEmpty())
@foreach($responses as $response) @endforeach
Test ID Test Name Patient Name Identification Status Client Invoice ID Current Client Price New Client Price Actions New Client Invoice (Debit)
{{$response->ID}} {{$response->NAME_EN}} {{$response->patient_name}} {{$response->IDENTIFICATION}} {{$response->DESC_EN}} {{$response->INVOICE_NO ?? ''}} {{$response->PRICE}} @php $new_price = $response->PRICE; if (isset($newClientPricesMap[$response->LAB_CATEGORY_PACKAGE_ID])) { $new_price = $newClientPricesMap[$response->LAB_CATEGORY_PACKAGE_ID]->PRICE; } @endphp {{$new_price}} @if(!empty($response->INVOICE_NO) && !in_array($response->LAB_ORDER_STATUS_ID,[-1,-2,-3]) && in_array($response->b2b_invoice_status,[1,2,3])) Credit Note ({{$response->PRICE}}) @endif Debit Note ({{$new_price}})
You can select an invoice here to automatically apply it to all rows, instead of selecting one for each row manually.
@endif
@endsection @section('footer-scripts') @endsection