Add Deliveries
This commit is contained in:
32
Elwig/Documents/DeliveryNote.cshtml
Normal file
32
Elwig/Documents/DeliveryNote.cshtml
Normal file
@ -0,0 +1,32 @@
|
||||
@using RazorLight
|
||||
@inherits TemplatePage<Elwig.Documents.DeliveryNote>
|
||||
@model Elwig.Documents.DeliveryNote
|
||||
@{ Layout = "BusinessDocument"; }
|
||||
|
||||
<h1>Traubenübernahmeschein Nr. @Model.Delivery.LsNr</h1>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<td rowspan="2">Sorte</td>
|
||||
<td rowspan="2">Qualitätsstufe</td>
|
||||
<td colspan="2">Gradation</td>
|
||||
<td>Gewicht</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>°KMW</td>
|
||||
<td>°Oe</td>
|
||||
<td>kg</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach (var part in Model.Delivery.Parts.OrderBy(p => p.DPNr)) {
|
||||
<tr>
|
||||
<td>@part.Variant.Name</td>
|
||||
<td>@part.Quality.Name</td>
|
||||
<td>@part.Kmw</td>
|
||||
<td>@part.Oe</td>
|
||||
<td>@part.Weight</td>
|
||||
</tr>
|
||||
}
|
||||
</tbody>
|
||||
</table>
|
Reference in New Issue
Block a user