@extends('template.layout') @section('title', $dataReport['judul'] ) @section('page-style') @endsection @section('content')
{{--
--}} {{$dataReport['judul']}}
Dari : {{$dataReport['head']->namaruangan}}
@if($dataReport['head']->isfloor == '1') @else Kepada {{ @dataReport['head']->isfloor }} @endif @if($dataReport['head']->isfloor == '1') @else : @endif @if($dataReport['head']->isfloor == '1') @else {{$dataReport['head']->namaruangan2 ?? ''}} @endif
Tanggal Penarikan : {{$dataReport['head']->tglkirim}}
Keterangan : {{$dataReport['head']->keterangan}}
No. Kirim : {{$dataReport['head']->nokirim}}
{{-- --}} {{-- --}} @php $no = 1; $total = 0; @endphp @foreach($dataReport['detail'] as $item) {{-- {{dd($item)}} --}} {{-- --}} {{-- --}} @php $no++; $total += $item['total'] @endphp @endforeach
No Nama Barang Satuan Jml Kirim Harga Satuan Jumlah HargaTgl KadaluarsaBatch
{{$no}} {{$item['namaproduk']}} {{$item['satuanview']}} {{$item['jumlah']}} {{number_format($item['hargasatuan'],2,",",".")}} {{number_format($item['total'], 2, ",", ".")}}{{$item['tglkadaluarsa']}}{{$item['nobatch']}}
Jumlah {{number_format($total, 2, ",", ".")}}
Bali, {{ \Carbon\Carbon::parse($dataReport['head']->tglkirim)->isoFormat('DD MMMM Y')}}
Mengetahui:
(...................................)
@endsection