@extends('layouts.admin') @section('title', 'Purchase | Mintavia Admin') @section('content')

Purchase Serial Number

@foreach ($results as $item) @endforeach
Serial Number Date Bill NO. Item Brand Party Name Rate Discount
{{ $item->serial_number ?? '--' }} {{ $item->created_at ? date('d-m-Y', strtotime($item->created_at)) : '--' }} {{ optional($item->bill)->bill_no ?? '--' }} {{ optional($item->product)->product_name ?? '--' }} {{ optional(optional($item->product)->brand)->brand_name ?? '--' }} @if (!empty($item->bill) && !empty($item->bill->account)) {{ $item->bill->account->print_as }} @endif {{ optional($item->bill_item)->net_amount ?? '--' }} {{ optional($item->bill_item)->dis_amt ?? '--' }}
@endsection @section('plugins.Toastr', true) @section('js') @endsection