diff --git a/Views/Consegne/Index.cshtml b/Views/Consegne/Index.cshtml index 97dd535..2153afa 100644 --- a/Views/Consegne/Index.cshtml +++ b/Views/Consegne/Index.cshtml @@ -4,134 +4,1948 @@ ViewData["Title"] = "Index"; } -

Index

-

- Create New -

- - - - - - - - - - - - - - @* - - - - - - - *@ - - - - -@foreach (var item in Model) { - - - - - - - - - - - - @* - - - - - - - - *@ - -} - -
- @Html.DisplayNameFor(model => model.consFattaSerial) - - @Html.DisplayNameFor(model => model.consFattaRow) - - @Html.DisplayNameFor(model => model.consFattaBanCar) - - @Html.DisplayNameFor(model => model.consFattaBanSca) - - @Html.DisplayNameFor(model => model.consFattaMezzo) - - @Html.DisplayNameFor(model => model.consFattaAut) - - @Html.DisplayNameFor(model => model.consFattaImpor) - - @Html.DisplayNameFor(model => model.consFattaNotImp) - - @Html.DisplayNameFor(model => model.consFattaNotBan) - - @Html.DisplayNameFor(model => model.consFattaFlagCons) - - @Html.DisplayNameFor(model => model.IndirizzoSede) - - @Html.DisplayNameFor(model => model.Cproword) - - @Html.DisplayNameFor(model => model.Cprownum) - - @Html.DisplayNameFor(model => model.Brmerce) - - @Html.DisplayNameFor(model => model.Brnote) - - @Html.DisplayNameFor(model => model.ImportoDaRitirare) - - @Html.DisplayNameFor(model => model.ItemList) - - @Html.DisplayNameFor(model => model.serialeGiro) -
- @Html.DisplayFor(modelItem => item.consFattaSerial) - - @Html.DisplayFor(modelItem => item.consFattaRow) - - @Html.DisplayFor(modelItem => item.consFattaBanCar) - - @Html.DisplayFor(modelItem => item.consFattaBanSca) - - @Html.DisplayFor(modelItem => item.consFattaMezzo) - - @Html.DisplayFor(modelItem => item.consFattaAut) - - @Html.DisplayFor(modelItem => item.consFattaImpor) - - @Html.DisplayFor(modelItem => item.consFattaNotImp) - - @Html.DisplayFor(modelItem => item.consFattaNotBan) - - @Html.DisplayFor(modelItem => item.consFattaFlagCons) - - @Html.DisplayFor(modelItem => item.IndirizzoSede) - - @Html.DisplayFor(modelItem => item.Cproword) - - @Html.DisplayFor(modelItem => item.Cprownum) - - @Html.DisplayFor(modelItem => item.Brmerce) - - @Html.DisplayFor(modelItem => item.Brnote) - - @Html.DisplayFor(modelItem => item.ImportoDaRitirare) - - @Html.DisplayFor(modelItem => item.ItemList) - - @Html.DisplayFor(modelItem => item.serialeGiro) - - @Html.ActionLink("Edit", "Edit", new { /* id=item.PrimaryKey */ }) | - @Html.ActionLink("Details", "Details", new { /* id=item.PrimaryKey */ }) | - @Html.ActionLink("Delete", "Delete", new { /* id=item.PrimaryKey */ }) -
+ + + +

+ Tables / Basic Tables +

+ + +
+
Table Basic
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ProjectClientUsersStatusActions
Angular ProjectAlbert Cook +
    +
  • + Avatar +
  • +
  • + Avatar +
  • +
  • + Avatar +
  • +
+
Active + +
React ProjectBarry Hunter +
    +
  • + Avatar +
  • +
  • + Avatar +
  • +
  • + Avatar +
  • +
+
Completed + +
VueJs ProjectTrevor Baker +
    +
  • + Avatar +
  • +
  • + Avatar +
  • +
  • + Avatar +
  • +
+
Scheduled + +
Bootstrap ProjectJerry Milton +
    +
  • + Avatar +
  • +
  • + Avatar +
  • +
  • + Avatar +
  • +
+
Pending + +
+
+
+ + +
+ + +
+
Table Dark
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ProjectClientUsersStatusActions
Angular ProjectAlbert Cook +
    +
  • + Avatar +
  • +
  • + Avatar +
  • +
  • + Avatar +
  • +
+
Active + +
React ProjectBarry Hunter +
    +
  • + Avatar +
  • +
  • + Avatar +
  • +
  • + Avatar +
  • +
+
Completed + +
VueJs ProjectTrevor Baker +
    +
  • + Avatar +
  • +
  • + Avatar +
  • +
  • + Avatar +
  • +
+
Scheduled + +
Bootstrap ProjectJerry Milton +
    +
  • + Avatar +
  • +
  • + Avatar +
  • +
  • + Avatar +
  • +
+
Pending + +
+
+
+ + +
+ + +
+
Dark Table head
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ProjectClientUsersStatusActions
Angular ProjectAlbert Cook +
    +
  • + Avatar +
  • +
  • + Avatar +
  • +
  • + Avatar +
  • +
+
Active + +
React ProjectBarry Hunter +
    +
  • + Avatar +
  • +
  • + Avatar +
  • +
  • + Avatar +
  • +
+
Completed + +
VueJs ProjectTrevor Baker +
    +
  • + Avatar +
  • +
  • + Avatar +
  • +
  • + Avatar +
  • +
+
Scheduled + +
Bootstrap ProjectJerry Milton +
    +
  • + Avatar +
  • +
  • + Avatar +
  • +
  • + Avatar +
  • +
+
Pending + +
+
+
+ + +
+ + +
+
Light Table head
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ProjectClientUsersStatusActions
Angular ProjectAlbert Cook +
    +
  • + Avatar +
  • +
  • + Avatar +
  • +
  • + Avatar +
  • +
+
Active + +
React ProjectBarry Hunter +
    +
  • + Avatar +
  • +
  • + Avatar +
  • +
  • + Avatar +
  • +
+
Completed + +
VueJs ProjectTrevor Baker +
    +
  • + Avatar +
  • +
  • + Avatar +
  • +
  • + Avatar +
  • +
+
Scheduled + +
Bootstrap ProjectJerry Milton +
    +
  • + Avatar +
  • +
  • + Avatar +
  • +
  • + Avatar +
  • +
+
Pending + +
+
+
+ + +
+ + +
+
Table Header & Footer
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ProjectClientUsersStatusActions
Angular ProjectAlbert Cook +
    +
  • + Avatar +
  • +
  • + Avatar +
  • +
  • + Avatar +
  • +
+
Active + +
React ProjectBarry Hunter +
    +
  • + Avatar +
  • +
  • + Avatar +
  • +
  • + Avatar +
  • +
+
Completed + +
VueJs ProjectTrevor Baker +
    +
  • + Avatar +
  • +
  • + Avatar +
  • +
  • + Avatar +
  • +
+
Scheduled + +
Bootstrap ProjectJerry Milton +
    +
  • + Avatar +
  • +
  • + Avatar +
  • +
  • + Avatar +
  • +
+
Pending + +
ProjectClientUsersStatusActions
+
+
+ + +
+ + +
+
Table Caption
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
List of Projects
ProjectClientUsersStatusActions
Angular ProjectAlbert Cook +
    +
  • + Avatar +
  • +
  • + Avatar +
  • +
  • + Avatar +
  • +
+
Active + +
React ProjectBarry Hunter +
    +
  • + Avatar +
  • +
  • + Avatar +
  • +
  • + Avatar +
  • +
+
Completed + +
VueJs ProjectTrevor Baker +
    +
  • + Avatar +
  • +
  • + Avatar +
  • +
  • + Avatar +
  • +
+
Scheduled + +
Bootstrap ProjectJerry Milton +
    +
  • + Avatar +
  • +
  • + Avatar +
  • +
  • + Avatar +
  • +
+
Pending + +
+
+
+ + +
+ + +
+
Striped rows
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ProjectClientUsersStatusActions
Angular ProjectAlbert Cook +
    +
  • + Avatar +
  • +
  • + Avatar +
  • +
  • + Avatar +
  • +
+
Active + +
React ProjectBarry Hunter +
    +
  • + Avatar +
  • +
  • + Avatar +
  • +
  • + Avatar +
  • +
+
Completed + +
VueJs ProjectTrevor Baker +
    +
  • + Avatar +
  • +
  • + Avatar +
  • +
  • + Avatar +
  • +
+
Scheduled + +
Bootstrap ProjectJerry Milton +
    +
  • + Avatar +
  • +
  • + Avatar +
  • +
  • + Avatar +
  • +
+
Pending + +
+
+
+ + +
+ + +
+
Bordered Table
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ProjectClientUsersStatusActions
Angular ProjectAlbert Cook +
    +
  • + Avatar +
  • +
  • + Avatar +
  • +
  • + Avatar +
  • +
+
Active + +
React ProjectBarry Hunter +
    +
  • + Avatar +
  • +
  • + Avatar +
  • +
  • + Avatar +
  • +
+
Completed + +
VueJs ProjectTrevor Baker +
    +
  • + Avatar +
  • +
  • + Avatar +
  • +
  • + Avatar +
  • +
+
Scheduled + +
Bootstrap ProjectJerry Milton +
    +
  • + Avatar +
  • +
  • + Avatar +
  • +
  • + Avatar +
  • +
+
Pending + +
+
+
+
+ + +
+ + +
+
Borderless Table
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ProjectClientUsersStatusActions
Angular ProjectAlbert Cook +
    +
  • + Avatar +
  • +
  • + Avatar +
  • +
  • + Avatar +
  • +
+
Active + +
React ProjectBarry Hunter +
    +
  • + Avatar +
  • +
  • + Avatar +
  • +
  • + Avatar +
  • +
+
Completed + +
VueJs ProjectTrevor Baker +
    +
  • + Avatar +
  • +
  • + Avatar +
  • +
  • + Avatar +
  • +
+
Scheduled + +
Bootstrap ProjectJerry Milton +
    +
  • + Avatar +
  • +
  • + Avatar +
  • +
  • + Avatar +
  • +
+
Pending + +
+
+
+ + +
+ + +
+
Hoverable rows
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ProjectClientUsersStatusActions
Angular ProjectAlbert Cook +
    +
  • + Avatar +
  • +
  • + Avatar +
  • +
  • + Avatar +
  • +
+
Active + +
React ProjectBarry Hunter +
    +
  • + Avatar +
  • +
  • + Avatar +
  • +
  • + Avatar +
  • +
+
Completed + +
VueJs ProjectTrevor Baker +
    +
  • + Avatar +
  • +
  • + Avatar +
  • +
  • + Avatar +
  • +
+
Scheduled + +
Bootstrap ProjectJerry Milton +
    +
  • + Avatar +
  • +
  • + Avatar +
  • +
  • + Avatar +
  • +
+
Pending + +
+
+
+ + +
+ + + +
+
Small Table
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ProjectClientUsersStatusActions
Angular ProjectAlbert Cook +
    +
  • + Avatar +
  • +
  • + Avatar +
  • +
  • + Avatar +
  • +
+
Active + +
React ProjectBarry Hunter +
    +
  • + Avatar +
  • +
  • + Avatar +
  • +
  • + Avatar +
  • +
+
Completed + +
VueJs ProjectTrevor Baker +
    +
  • + Avatar +
  • +
  • + Avatar +
  • +
  • + Avatar +
  • +
+
Scheduled + +
Bootstrap ProjectJerry Milton +
    +
  • + Avatar +
  • +
  • + Avatar +
  • +
  • + Avatar +
  • +
+
Pending + +
+
+
+ + +
+ + + +
+
Contextual Classes
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ProjectClientUsersStatusActions
Sketch ProjectRonnie Shane +
    +
  • + Avatar +
  • +
  • + Avatar +
  • +
  • + Avatar +
  • +
+
Active + +
React ProjectBarry Hunter +
    +
  • + Avatar +
  • +
  • + Avatar +
  • +
  • + Avatar +
  • +
+
Completed + +
Angular ProjectAlbert Cook +
    +
  • + Avatar +
  • +
  • + Avatar +
  • +
  • + Avatar +
  • +
+
Active + +
VueJs ProjectTrevor Baker +
    +
  • + Avatar +
  • +
  • + Avatar +
  • +
  • + Avatar +
  • +
+
Scheduled + +
Bootstrap ProjectJerry Milton +
    +
  • + Avatar +
  • +
  • + Avatar +
  • +
  • + Avatar +
  • +
+
Pending + +
Sketch ProjectSarah Banks +
    +
  • + Avatar +
  • +
  • + Avatar +
  • +
  • + Avatar +
  • +
+
Active + +
React CustomTed Richer +
    +
  • + Avatar +
  • +
  • + Avatar +
  • +
  • + Avatar +
  • +
+
Scheduled + +
Latest BootstrapPerry Parker +
    +
  • + Avatar +
  • +
  • + Avatar +
  • +
  • + Avatar +
  • +
+
Pending + +
Angular UIAna Bell +
    +
  • + Avatar +
  • +
  • + Avatar +
  • +
  • + Avatar +
  • +
+
Completed + +
Bootstrap UIJerry Milton +
    +
  • + Avatar +
  • +
  • + Avatar +
  • +
  • + Avatar +
  • +
+
Completed + +
+
+
+ + +
+ + +
Table without Card
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ProjectClientUsersStatusActions
Angular ProjectAlbert Cook +
    +
  • + Avatar +
  • +
  • + Avatar +
  • +
  • + Avatar +
  • +
+
Active + +
React ProjectBarry Hunter +
    +
  • + Avatar +
  • +
  • + Avatar +
  • +
  • + Avatar +
  • +
+
Completed + +
VueJs ProjectTrevor Baker +
    +
  • + Avatar +
  • +
  • + Avatar +
  • +
  • + Avatar +
  • +
+
Scheduled + +
Bootstrap ProjectJerry Milton +
    +
  • + Avatar +
  • +
  • + Avatar +
  • +
  • + Avatar +
  • +
+
Pending + +
+
+ + +
+ + +
+
Responsive Table
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#Table headingTable headingTable headingTable headingTable headingTable headingTable headingTable headingTable heading
1Table cellTable cellTable cellTable cellTable cellTable cellTable cellTable cellTable cell
2Table cellTable cellTable cellTable cellTable cellTable cellTable cellTable cellTable cell
3Table cellTable cellTable cellTable cellTable cellTable cellTable cellTable cellTable cell
+
+
diff --git a/Views/Giri/Index.cshtml b/Views/Giri/Index.cshtml index c13ae70..8a67fee 100644 --- a/Views/Giri/Index.cshtml +++ b/Views/Giri/Index.cshtml @@ -18,7 +18,7 @@

Giri di consegna

*@ -

Giri di consegna

+

Elenco giri di consegna da creare @@ -26,26 +26,129 @@ @using (Html.BeginForm()) { - Data giro: -

@Html.TextBox("data", null, new { type = "date", @class = "agy-form-field require" })
-
 
- Autista: -
@Html.DropDownList("codAutista", ViewBag.Autisti, null, new { @class = "agy-form-field require" })
-
 
- Automezzo: -
@Html.DropDownList("codMezzo", ViewBag.CodMezzo, null, new { @class = "agy-form-field require" })
-
 
+
+
Ricerca
+
+ + + + + + + + + + + + + + + + + + + + +
Data giroAutistaAutomezzoTipo 
@Html.TextBox("data", null, new { type = "date", @class = "agy-form-field require" }) + @Html.DropDownList("codAutista", ViewBag.Autisti, null, new { @class = "agy-form-field require" }) + + @Html.DropDownList("codMezzo", ViewBag.CodMezzo, null, new { @class = "agy-form-field require" }) + -
- @Html.CheckBox("aperto", new { placeholder ="aperto", @checked = true, }) - @Html.Label("aperto", "aperto") + @Html.CheckBox("aperto", new { placeholder ="aperto", @checked = true, }) + @Html.Label("aperto", "aperto") + +
+ +
-
- -
+
} +
+
+
+ +
+
Giri di consegna
+
+ + + + + + + + + + + + + + + @foreach (var item in Model) + { + + + + + + + @if (item.parzialeBanRec != null && item.parzialeBanRec > 0) + { + + } + else + { + + } + @if (item.parzialeImpRec != null && item.parzialeImpRec > 0) + { + + } + else + { + + } +
DataAutistaAutomezzonoconsParnoconsParnoconsTempnoconsTemp 
@Html.DisplayFor(modelItem => item.DataGiro)@Html.DisplayFor(modelItem => item.CodAutista) - @Html.DisplayFor(modelItem => item.Autista) + @Html.DisplayFor(modelItem => item.CodMezzo) - @Html.DisplayFor(modelItem => item.Automezzo) + + @Html.DisplayFor(modelItem => item.BancaliCaricati) + + @Html.DisplayFor(modelItem => item.ImportoDaRecuperare) + + @Html.DisplayFor(modelItem => item.parzialeBanRec) +   + @Html.DisplayFor(modelItem => item.parzialeImpRec) +   + nocons + nocons + nocons + nocons - + + + } + + + +
+ + + + + + + + +@* @@ -111,14 +214,14 @@ nocons + nomeMezzo = item.Automezzo@* id=item.SerialeGiro,nbanc=item.parzialeBanRec,imp=item.parzialeImpRec })" title="Modifica tutte le destinazioni" class="links">nocons }
Data
-
+
*@