@extends('adminlte::page') @section('title', 'Penjualan Produk') @section('content_header')

Penjualan Produk

@stop @section('content')

Outlook 1


@foreach ($data1 as $item) @endforeach
No.
Date
Quantity
Product
Price
{{$loop->iteration}}
{{date('d-m-Y', strtotime($item->created_at))}}
{{$item->quantity}}
{{$item->barberman->name}}
{{number_format($item->total)}}
{{number_format($data1->sum('quantity'))}} Rp. {{number_format($data1->sum('total'))}}

Outlook 2


@foreach ($data2 as $item) @endforeach
No.
Date
Quantity
Product
Price
{{$loop->iteration}}
{{date('d-m-Y', strtotime($item->created_at))}}
{{$item->quantity}}
{{$item->barberman->name}}
{{number_format($item->total)}}
{{number_format($data2->sum('quantity'))}} Rp. {{number_format($data2->sum('total'))}}
@endsection