dev
This commit is contained in:
@@ -170,21 +170,28 @@
|
||||
@(Model.InvoiceItems.IndexOf(item) + 1)
|
||||
</td>
|
||||
<td>
|
||||
@Html.DisplayFor(x => item.Item.Title)
|
||||
@if (Model.Invoice.Type != Models.Invoice.Invoice.InvoiceType.Order && !string.IsNullOrEmpty(item.ItemDescription))
|
||||
@if (!string.IsNullOrEmpty(item.Item?.Title))
|
||||
{
|
||||
<br/>
|
||||
<small>
|
||||
@Html.DisplayFor(x => item.ItemDescription)
|
||||
</small>
|
||||
@Html.DisplayFor(x => item.Item.Title)
|
||||
@if (Model.Invoice.Type != Models.Invoice.Invoice.InvoiceType.Order && !string.IsNullOrEmpty(item.ItemDescription))
|
||||
{
|
||||
<br/>
|
||||
<small>
|
||||
@Html.DisplayFor(x => item.ItemDescription)
|
||||
</small>
|
||||
}
|
||||
@if (Model.Invoice.Type == Models.Invoice.Invoice.InvoiceType.Invoice)
|
||||
{
|
||||
<br/>
|
||||
<small>
|
||||
@Model.Translation.DeliveryNote
|
||||
<b>@Html.DisplayFor(x => item.InvoiceItemJoin.Invoice.InvoiceNumberFormatted)</b>
|
||||
</small>
|
||||
}
|
||||
}
|
||||
@if (Model.Invoice.Type == Models.Invoice.Invoice.InvoiceType.Invoice)
|
||||
else
|
||||
{
|
||||
<br/>
|
||||
<small>
|
||||
@Model.Translation.DeliveryNote
|
||||
<b>@Html.DisplayFor(x => item.InvoiceItemJoin.Invoice.InvoiceNumberFormatted)</b>
|
||||
</small>
|
||||
@Html.DisplayFor(x => item.ItemDescription)
|
||||
}
|
||||
</td>
|
||||
<td class="text-right">@Html.DisplayFor(x => item.Quantity)</td>
|
||||
|
||||
Reference in New Issue
Block a user