minor change in items of invoices and bills moved to partials path
This commit is contained in:
parent
a8fe772581
commit
f916d6a200
@ -13,10 +13,10 @@
|
||||
@stack('quantity_td_end')
|
||||
|
||||
@stack('price_td_start')
|
||||
<td class="price">@money($item->price, $invoice->currency_code, true)</td>
|
||||
<td class="price">@money($item->price, $document->currency_code, true)</td>
|
||||
@stack('price_td_end')
|
||||
|
||||
@stack('total_td_start')
|
||||
<td class="total">@money($item->total, $invoice->currency_code, true)</td>
|
||||
<td class="total">@money($item->total, $document->currency_code, true)</td>
|
||||
@stack('total_td_end')
|
||||
</tr>
|
@ -13,7 +13,7 @@
|
||||
@stack('quantity_td_end')
|
||||
|
||||
@stack('price_td_start')
|
||||
<td class="col-sm-3 text-right d-none d-sm-block">@money($item->price, $invoice->currency_code, true)</td>
|
||||
<td class="col-sm-3 text-right d-none d-sm-block">@money($item->price, $document->currency_code, true)</td>
|
||||
@stack('price_td_end')
|
||||
|
||||
@if (in_array(setting('localisation.discount_location', 'total'), ['item', 'both']))
|
||||
@ -23,6 +23,6 @@
|
||||
@endif
|
||||
|
||||
@stack('total_td_start')
|
||||
<td class="col-xs-4 col-sm-3 text-right pr-5">@money($item->total, $invoice->currency_code, true)</td>
|
||||
<td class="col-xs-4 col-sm-3 text-right pr-5">@money($item->total, $document->currency_code, true)</td>
|
||||
@stack('total_td_end')
|
||||
</tr>
|
@ -129,7 +129,7 @@
|
||||
|
||||
<tbody>
|
||||
@foreach($bill->items as $item)
|
||||
@include('partials.documents.item.print')
|
||||
@include('partials.documents.item.print', ['document' => $bill])
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
|
@ -350,7 +350,7 @@
|
||||
@stack('total_th_end')
|
||||
</tr>
|
||||
@foreach($bill->items as $item)
|
||||
@include('partials.documents.item.show')
|
||||
@include('partials.documents.item.show', ['document' => $bill])
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
|
@ -146,7 +146,7 @@
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach($invoice->items as $item)
|
||||
@include('partials.documents.item.print')
|
||||
@include('partials.documents.item.print', ['document' => $invoice])
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
|
@ -133,7 +133,7 @@
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach($invoice->items as $item)
|
||||
@include('partials.documents.item.print')
|
||||
@include('partials.documents.item.print', ['document' => $invoice])
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
|
@ -115,7 +115,7 @@
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach($invoice->items as $item)
|
||||
@include('partials.documents.item.print')
|
||||
@include('partials.documents.item.print', ['document' => $invoice])
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
|
@ -367,7 +367,7 @@
|
||||
@stack('total_th_end')
|
||||
</tr>
|
||||
@foreach($invoice->items as $item)
|
||||
@include('partials.documents.item.show')
|
||||
@include('partials.documents.item.show', ['document' => $invoice])
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
|
Loading…
x
Reference in New Issue
Block a user