@extends('admin.layout.master') @section('custom_style') @section('content')

Complains

@if(get_guard()=='customer') Add New @else @endif
@php $index_route = 'customer.complain.index'; if(get_guard()=='admin') $index_route = 'complain.index'; @endphp
@if(get_guard()=='admin')
@endif

{{--
--}}
@if(get_guard()=='admin') @endif @if(get_guard()=='admin') @endif @php $complainTypes = complainTypes() @endphp @foreach ($complaines as $key => $com) @if(get_guard()=='admin') @endif @if(get_guard()=='admin') @endif @endforeach
#Complained ByDate Complain For Product Design No Quantity Objection Note Status ImgAction
{{++$key}}{{$com->getParty->name_eng}}{{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($com->img) {{-- Image --}} @endif Edit
@include('inventory.complain.view_modal') @endsection @section('script') @endsection