@extends('layouts.app') @section('content')
TRANSACTION NO. #{{$invoice_number}}
@if($customer_id == null) @if(auth()->user()->role == "Cashier") Accept Payment & Print Receipt @else Print Receipt @endif @else @if(auth()->user()->role == "Cashier") Accept Payment & Print Receipt @else Print Receipt @endif @endif
@if(auth()->user()->role !== "Sales Person") @endif @foreach($orders as $list) @if(auth()->user()->role !== "Sales Person") @endif @endforeach
Product ID. Ordered Date Product Quantity Unit Price Total PriceAction
#{{$list->invoice_number}} {{$list->created_at}} {{$list->invoice_product_name}} {{$list->invoice_quantity}} {{empty($app->currency) ? "GHS" : $app->currency}}{{$list->invoice_unit_price}} {{empty($app->currency) ? "GHS" : $app->currency}}{{$list->invoice_total_price}}
@endsection