@extends('Hardware_Asset.Navbar.hwnavbar') @section('content')
@csrf
@foreach ($Service_rep as $index=> $rep) @endforeach
Edit SNO ENO EDate Assset ID Asset Name TicketNo Service Type Type Supplier Name Physical Damage Status Reason Doc-1 Doc-2
@if ($rep['Status_ID'] == 3) - @else @php $params = [ 'mode' => 'view', 'Rowid' => $rep['Rowid'], 'ENO' => $rep['ENO'], 'EDate' => $rep['EDate'], 'Asset_ID' => $rep['Asset_ID'], 'Asset_Name' => $rep['Asset_Name'], 'TicketNo' => $rep['TicketNo'], 'Service_Type' => $rep['Service_Type'], 'Type' => $rep['Type'], 'LedgeR_NAme' => $rep['LedgeR_NAme'], 'Physical_Damage' => $rep['Physical_Damage'], 'Status' => $rep['Status'], 'Status_ID' => $rep['Status_ID'], 'Reason' => $rep['Reason'], 'Supplier' => $rep['Supplier'], 'End_Warranty_Date' => $rep['End_Warranty_Date'], 'Asset_Type' => $rep['Asset_Type'], 'Doc_1' => $rep['Doc_1'], 'Doc_2' => $rep['Doc_2'], ]; $encryptedParams = encrypt($params); @endphp @endif {{ $index + 1 }} {{ $rep['ENO'] }} {{ date('y-m-d', strtotime($rep['EDate'] ))}} {{ $rep['Asset_ID'] }} {{ $rep['Asset_Name'] }} {{ $rep['TicketNo'] }} {{ $rep['Service_Type'] }} @if ($rep['Type'] != "") {{ $rep['Type'] }} @else -- @endif @if ($rep['LedgeR_NAme'] != "") {{ $rep['LedgeR_NAme'] }} @else -- @endif {{ $rep['Physical_Damage'] }} {{ $rep['Status'] }} {{ $rep['Reason'] }} @if ($rep['Doc_1'] == "No Doc") -- @else {{ $rep['Doc_1'] }} @endif @if ($rep['Doc_2'] == "No Doc") -- @else {{ $rep['Doc_2'] }} @endif
@if ($message = Session::get('SuccessMsg')) @endif @endsection