@extends('layouts.main') @section('page-style') @endsection @section('page-script') @endsection @section('content')

@include('layouts.notifications')
Show All Outlet Show Summary
Report Feedback Outlet {{$reportData['outlet_data']['outlet_name']}}
@csrf
@php $col = $reportData['rating_item_count']==3?'3':'4' @endphp
{{array_sum(array_column($reportData['rating_item'],'feedbacks_count'))}}
Total Feedback
{{$reportData['rating_item']['1']['feedbacks_count']??0}}
Positif Feedback
@if($reportData['rating_item_count']==3)
{{$reportData['rating_item']['0']['feedbacks_count']??0}}
Neutral Feedback
@endif
{{$reportData['rating_item']['-1']['feedbacks_count']??0}}
Negative Feedback
@if($reportData['rating_item_count']==3)
@endif
@if($reportData['rating_item']['1']['feedbacks']??false) @foreach($reportData['rating_item']['1']['feedbacks'] as $feedback) @endforeach @else @endif
Create Feedback Date Receipt Number User Grand Total Action
{{date('d M Y',strtotime($feedback['created_at']))}} {{$feedback['transaction']['transaction_receipt_number']}} {{$feedback['user']['name']}} Rp {{number_format($feedback['transaction']['transaction_grandtotal'],0,',','.')}} Detail
No Feedback Found
@csrf
@if($reportData['rating_item_count']==3)
@if($reportData['rating_item']['0']['feedbacks']??false) @foreach($reportData['rating_item']['0']['feedbacks'] as $feedback) @endforeach @else @endif
Create Feedback Date Receipt Number User Grand Total Action
{{date('d M Y',strtotime($feedback['created_at']))}} {{$feedback['transaction']['transaction_receipt_number']}} {{$feedback['user']['name']}} Rp {{number_format($feedback['transaction']['transaction_grandtotal'],0,',','.')}} Detail
No Feedback Found
@csrf
@endif
@if($reportData['rating_item']['-1']['feedbacks']??false) @foreach($reportData['rating_item']['-1']['feedbacks'] as $feedback) @endforeach @else @endif
Create Feedback Date Receipt Number User Grand Total Action
{{date('d M Y',strtotime($feedback['created_at']))}} {{$feedback['transaction']['transaction_receipt_number']}} {{$feedback['user']['name']}} Rp {{number_format($feedback['transaction']['transaction_grandtotal'],0,',','.')}} Detail
No Feedback Found
@csrf
@endsection