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('quantity_td_end')
|
||||||
|
|
||||||
@stack('price_td_start')
|
@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('price_td_end')
|
||||||
|
|
||||||
@stack('total_td_start')
|
@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')
|
@stack('total_td_end')
|
||||||
</tr>
|
</tr>
|
@ -13,7 +13,7 @@
|
|||||||
@stack('quantity_td_end')
|
@stack('quantity_td_end')
|
||||||
|
|
||||||
@stack('price_td_start')
|
@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')
|
@stack('price_td_end')
|
||||||
|
|
||||||
@if (in_array(setting('localisation.discount_location', 'total'), ['item', 'both']))
|
@if (in_array(setting('localisation.discount_location', 'total'), ['item', 'both']))
|
||||||
@ -23,6 +23,6 @@
|
|||||||
@endif
|
@endif
|
||||||
|
|
||||||
@stack('total_td_start')
|
@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')
|
@stack('total_td_end')
|
||||||
</tr>
|
</tr>
|
@ -129,7 +129,7 @@
|
|||||||
|
|
||||||
<tbody>
|
<tbody>
|
||||||
@foreach($bill->items as $item)
|
@foreach($bill->items as $item)
|
||||||
@include('partials.documents.item.print')
|
@include('partials.documents.item.print', ['document' => $bill])
|
||||||
@endforeach
|
@endforeach
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
@ -350,7 +350,7 @@
|
|||||||
@stack('total_th_end')
|
@stack('total_th_end')
|
||||||
</tr>
|
</tr>
|
||||||
@foreach($bill->items as $item)
|
@foreach($bill->items as $item)
|
||||||
@include('partials.documents.item.show')
|
@include('partials.documents.item.show', ['document' => $bill])
|
||||||
@endforeach
|
@endforeach
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
@ -146,7 +146,7 @@
|
|||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@foreach($invoice->items as $item)
|
@foreach($invoice->items as $item)
|
||||||
@include('partials.documents.item.print')
|
@include('partials.documents.item.print', ['document' => $invoice])
|
||||||
@endforeach
|
@endforeach
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
@ -133,7 +133,7 @@
|
|||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@foreach($invoice->items as $item)
|
@foreach($invoice->items as $item)
|
||||||
@include('partials.documents.item.print')
|
@include('partials.documents.item.print', ['document' => $invoice])
|
||||||
@endforeach
|
@endforeach
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
@ -115,7 +115,7 @@
|
|||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@foreach($invoice->items as $item)
|
@foreach($invoice->items as $item)
|
||||||
@include('partials.documents.item.print')
|
@include('partials.documents.item.print', ['document' => $invoice])
|
||||||
@endforeach
|
@endforeach
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
@ -367,7 +367,7 @@
|
|||||||
@stack('total_th_end')
|
@stack('total_th_end')
|
||||||
</tr>
|
</tr>
|
||||||
@foreach($invoice->items as $item)
|
@foreach($invoice->items as $item)
|
||||||
@include('partials.documents.item.show')
|
@include('partials.documents.item.show', ['document' => $invoice])
|
||||||
@endforeach
|
@endforeach
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user