@extends('main') @section('content')

Products

@if(session('message'))
@endif
{{-- --}} @if(!empty($products['products']['product'])) @foreach ($products['products']['product'] as $p) {{-- --}} @endforeach @endif
Product Name Type Pay Type StockAuto Setup
{{ $p['name'] }} {{ ucwords($p['type']) }} {{ ucwords($p['paytype']) }} -Rp.{{ number_format($i['total'],2,',','.') }}
{{-- --}}
@endsection