@extends('admin.template.master') @section('title')

Customer Supports details

@endsection @section('main-content')
@if(Session::has('message'))
{{Session('message')}}
@endif @if(Session::has('error-message'))
{{Session('error-message')}}
@endif

Customer's Info

{{ Form::label('Name') }} {{ $customerSupport->customer_name }}
{{ Form::label('Email') }} {{ $customerSupport->email }}
{{ Form::label('Phone') }} {{ $customerSupport->code . $customerSupport->phone }}
{{ Form::label('Address') }} {{ $customerSupport->customer_address }}

Product's Info

{{ Form::label('Claim Date') }} {{ date('M d, Y h:i A', strtotime($customerSupport->created_at)) }}
{{ Form::label('Bill Date') }} {{ date('M d, Y h:i A', strtotime($customerSupport->bill_date)) }}
{{ Form::label('Bill No') }} {{ $customerSupport->bill_no }}
{{ Form::label('Serial') }} {{ $customerSupport->ser_no }}
{{ Form::label('Brand') }} {{ $customerSupport->brand_name }}
{{ Form::label('Item Type') }} {{ $customerSupport->item_type_name }}
{{ Form::label('INV SKU') }} {{ $customerSupport->inv_code }}
{{ Form::label('Item') }} {{ $customerSupport->item_name }}
{{ Form::label('Quantity') }} {{ $customerSupport->qty }}
{{ Form::label('Location') }} {{ $customerSupport->location }}
{{ Form::label('Operator') }} {{ $customerSupport->operator }}
{{ Form::label('Problem details by customer') }} {{ $customerSupport->description }}

Admin Activity Log

@if(count($customerSupportLogs) > 0) @foreach($customerSupportLogs as $customerSupportLog) @endforeach @else @endif
Ryans Response Action Taken Findings by Engineer Status Action By Date/Time
{{ $customerSupportLog->ryans_response }} {{ $customerSupportLog->action_taken }} {{ $customerSupportLog->findings_by_engineer }} {{ $customerSupportLog->status }} {{ $customerSupportLog->user_name }} {{ date('M d, Y h:i A', strtotime($customerSupportLog->created_at)) }}
No data found

Admin Action

{!! Form::open(['method' => 'PATCH', 'url' => '/admin/customer-supports/' .$customerSupport->customer_support_id]) !!} {!! Form::label('ryans_response', 'Ryans response') !!}
{!! Form::select('ryans_response', $ryansResponses, isset($customerSupport->ryans_response) ? $customerSupport->ryans_response : null, ['class' => 'form-control', 'id' => 'ryans_response']) !!}
{!! Form::label('action_taken', 'Action Taken') !!}
{!! Form::select('action_taken', $actionTaken, isset($customerSupport->action_taken) ? $customerSupport->action_taken : null, ['class' => 'form-control', 'id' => 'action_taken']) !!}
{!! Form::label('findings_by_engineer', 'Problem details by engineer') !!}
{!! Form::textarea('findings_by_engineer', $customerSupport->findings_by_engineer ? $customerSupport->findings_by_engineer : null, ['rows' => 3, 'class' => 'form-control', 'id' => 'findings_by_engineer']) !!}
{!! Form::label('status', 'Status') !!}
{!! Form::select('status', $status, isset($customerSupport->status) ? $customerSupport->status : null, ['class' => 'form-control', 'id' => 'status']) !!}
{!! Form::label('Status By') !!} {{ $customerSupport->user_name ? $customerSupport->user_name : 'N/A'}}
{!! Form::close() !!}
@endsection