Wholesale Cashflow: {{$cashflow->name}}
@if (Session::get('message')) @endif @if($errors->all()) @endif
@if (Session::get('message')) @endif
  • Created At: {{$cashflow->created_at->format('d-M-Y')}}
  • Locked: {{$cashflow->locked == 1 ? 'Yes' : 'No'}}
  • Total Drops: {{$cashflow->total_drops ?? 0}}
  • Total VAT: £{{number_format($cashflow->total_vat ?? 0,2)}}
  • Total exVAT: £{{number_format($cashflow->total_exvat ?? 0,2)}}
  • Total incVAT: £{{number_format($cashflow->total_incvat ?? 0,2)}}
  • Up To: {{\Carbon\Carbon::parse($cashflow->data['exfty_date_to'] ?? 0)->format('d-M-Y')}}
  • COO: {{$cashflow->data['country'] ?? ""}}
  • Factory: {{$cashflow->data['factory'] ?? ""}}
  • Category: {{$cashflow->data['category'] ?? ""}}
  • Customer: {{$cashflow->data['customer'] ?? ""}}
  • Department: {{$cashflow->data['department'] ?? ""}}
@php // Build simple component inputs from existing $pivot $pivotData = $pivot['dataSource']['data'] ?? []; $pivotRows = array_map(function($r){ return $r['uniqueName']; }, $pivot['slice']['rows'] ?? []); $pivotMeasures = $pivot['slice']['measures'] ?? []; $pivotFormats = $pivot['formats'] ?? []; @endphp