@extends('admin.layout.master') @section('custom_style') @section('content')
| # | @if(get_guard()=='admin')Complained By | @endifDate | Complain For | Product | Design No | Quantity | Objection | Note | Status | Img | @if(get_guard()=='admin')Action | @endif
|---|---|---|---|---|---|---|---|---|---|---|---|
| {{++$key}} | @if(get_guard()=='admin'){{$com->getParty->name_eng}} | @endif{{date('d-m-Y', strtotime($com->date))}} | {{$complainTypes[$com->type]}} |
@forelse ($com->products as $product)
{{$product->name_eng}}
@if(!$loop->last), @endif @empty - @endforelse |
{{$com->design_no}} | {{$com->quantity}} | {{$com->getObjection->name}} | {{$com->note}} | {!! complainStatus(1)[$com->status] !!} | @if(get_guard()=='admin')Edit | @endif