Items
@if($line_items) @foreach($line_items as $line_item) @if(!$line_item->for_buy) @else @endif @endforeach @endif
Product Rent Time Return Time In rent time Total
{{ $line_item->product_id ? $line_item->product->category->name : $line_item->category->name }} {{ $line_item->product_id ? $line_item->product->getProductOptionDescription() : '' }} {{ $line_item->getRentTime()->timezone(\Setting::get('app.view_timezone')) }} {{ $line_item->statuses()->where('is_current', true)->first()->created_at->timezone(\Setting::get('app.view_timezone')) }} {{ $line_item->getInRentTimeString() }} {{ Setting::get('currency_symbol') }}{{ number_format($line_item->total_price, 2) }}
{{ $line_item->category->name }} {{ $line_item->product_id ? $line_item->product->getProductOptionDescription() : '' }} -- -- -- {{ Setting::get('currency_symbol') }}{{ number_format($line_item->total_price, 2) }}
Sub Total {{ Setting::get('currency_symbol') }}{{ number_format($invoice_total, 2) }}
Discount {{ Setting::get('currency_symbol') }}{{ number_format($invoice->discount, 2) }}
Tax {{ Setting::get('currency_symbol') }}{{ number_format($invoice->taxes()->sum('invoice_tax_amount'), 2) }}
Total Paid {{ Setting::get('currency_symbol') }}{{ number_format($paid_grand_total, 2) }}
Payable Now {{ Setting::get('currency_symbol') }}{{ number_format($invoice->grand_total - $paid_grand_total, 2) }}
@section('scripts') @parent {{ HTML::script('assets/global/plugins/datatables/media/js/jquery.dataTables.min.js') }} {{ HTML::script('assets/global/plugins/datatables/plugins/bootstrap/dataTables.bootstrap.js') }} @stop