Show and Print item line component add

This commit is contained in:
Cüneyt Şentürk
2021-01-06 18:30:43 +03:00
parent 409173c22d
commit d33ba81f87
7 changed files with 61 additions and 48 deletions

View File

@ -175,7 +175,18 @@
</thead>
<tbody>
@foreach($document->items as $item)
@include('partials.documents.item.print', ['document' => $document])
<x-documents.template.line-item
type="{{ $type }}"
:item="$item"
:document="$document"
hide-items="{{ $hideItems }}"
hide-name="{{ $hideName }}"
hide-description="{{ $hideDescription }}"
hide-quantity="{{ $hideQuantity }}"
hide-price="{{ $hidePrice }}"
hide-discount="{{ $hideDiscount }}"
hide-amount="{{ $hideAmount }}"
/>
@endforeach
</tbody>
</table>