@extends('layouts.app') @push('css') @endpush @section('content')
@foreach($invoice->invoice_items as $items) @if(config('app.store')=="inventory") @else @endif @endforeach
Name Quantity {{ config('app.store') == "inventory" ? "Type" : "Price Type" }} Price Total Action
{{ $items->stock->name }}
stock->available_quantity+ $items->quantity : $items->stock->yard_available_quantity+ $items->quantity }}" min="1" type="number" value="{{ $items->quantity }}">
{{ number_format($items->selling_price,2) }}{{ number_format($items->total_selling_price,2) }}
Sub Total {{ number_format($invoice->sub_total,2) }}
Total {{ number_format($invoice->sub_total,2) }}
@if(userCanView('invoiceandsales.create'))
@if($invoice->status == "DRAFT" && userCanView('invoiceandsales.draft_invoice')) @endif @if(userCanView('invoiceandsales.complete_invoice')) @endif
@endif
{{ number_format($invoice->sub_total,2) }}
Invoice Info.
@if(config('app.store') == "hotel") @if(auth()->user()->customer_id != "0")
Customer :
{{ auth()->user()->name }}
@else
@endif @else
Add New Customer
@endif
Payment Info.
@if(userCanView('customer.store')) @endif @endsection @push('js') @endpush