cancella buono azienda
This commit is contained in:
parent
49cfe5dc89
commit
41514e33b9
@ -1,69 +1,78 @@
|
|||||||
@model VirtualTask.Models.DatiAziendaTable
|
@model VirtualTask.Models.DatiAziendaTable
|
||||||
|
|
||||||
@{
|
@{
|
||||||
ViewData["Title"] = "Elimina azienda";
|
ViewData["Title"] = "Elimina Intestazione Buono";
|
||||||
Layout = "~/Views/Shared/_LayoutAreaRiservata.cshtml";
|
Layout = "~/Views/Shared/_LayoutAreaRiservata.cshtml";
|
||||||
}
|
}
|
||||||
|
|
||||||
<div class="agy-project-wrapper agy-project-page-wrapper">
|
<div class="agy-project-wrapper agy-project-page-wrapper">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row">
|
<div class="table-responsive">
|
||||||
<div class="row">
|
<table class="table table-bordered table-striped table-hover align-middle">
|
||||||
<dt class="col-sm-2">
|
<thead class="table-primary">
|
||||||
@Html.DisplayNameFor(model => model.azienda)
|
<tr>
|
||||||
</dt>
|
<th scope="col"> </th>
|
||||||
<dd class="col-sm-10">
|
<th scope="col"> </th>
|
||||||
@Html.DisplayFor(model => model.azienda)
|
</tr>
|
||||||
</dd>
|
</thead>
|
||||||
<dt class="col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.logo)
|
|
||||||
</dt>
|
|
||||||
<dd>
|
|
||||||
@{
|
|
||||||
var base64 = Convert.ToBase64String(Model.logo);
|
|
||||||
var imgSrc = String.Format("data:image/gif;base64,{0}", base64);
|
|
||||||
}
|
|
||||||
<img src="@imgSrc" height="80" />
|
|
||||||
</dd>
|
|
||||||
<dt class="col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.tecnico)
|
|
||||||
</dt>
|
|
||||||
<dd class="col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.tecnico)
|
|
||||||
</dd>
|
|
||||||
<dt class="col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.ragsoc)
|
|
||||||
</dt>
|
|
||||||
<dd class="col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.ragsoc)
|
|
||||||
</dd>
|
|
||||||
<dt class="col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.url_logo)
|
|
||||||
</dt>
|
|
||||||
<dd class="col-sm-10">
|
|
||||||
@Html.DisplayFor(model => model.url_logo)
|
|
||||||
</dd>
|
|
||||||
<dt class="col-sm-2">
|
|
||||||
@Html.DisplayNameFor(model => model.testo_buono)
|
|
||||||
</dt>
|
|
||||||
<dd class="col-sm-10">
|
|
||||||
@{
|
|
||||||
string testo = string.Empty;
|
|
||||||
testo = Model.testo_buono;
|
|
||||||
}
|
|
||||||
@Html.Raw(@testo)
|
|
||||||
</dd>
|
|
||||||
|
|
||||||
</div>
|
<tr>
|
||||||
<div class="col-lg-6 col-md-6 col-sm-12 col-12"> </div>
|
<td class="fw-bold fs-5"><span class="badge bg-secondary"><label asp-for="logo" class="agy-client-quote"></label></span></td>
|
||||||
<form asp-action="DeleteConfirmed">
|
<td>
|
||||||
<input type="submit" value="Elimina" class="agy-btn submitForm" />
|
@{
|
||||||
<input type="hidden" id="azienda" value=@Html.DisplayFor(model => model.azienda) name="azienda" />
|
var base64 = Convert.ToBase64String(Model.logo);
|
||||||
<input type="hidden" id="tecnico" value=@Html.DisplayFor(model => model.tecnico) name="tecnico" />
|
var imgSrc = String.Format("data:image/gif;base64,{0}", base64);
|
||||||
<div>
|
}
|
||||||
<a asp-action="Index">Torna alla lista</a>
|
<img src="@imgSrc" height="80" />
|
||||||
</div>
|
</td>
|
||||||
</form>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="fw-bold fs-5"><span class="badge bg-secondary"><label asp-for="tecnico" class="agy-client-quote"></label></span></td>
|
||||||
|
<td>
|
||||||
|
@Html.DisplayFor(x => x.tecnico)
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="fw-bold fs-5"><span class="badge bg-secondary"><label asp-for="ragsoc" class="agy-client-quote"></label></span></td>
|
||||||
|
<td>
|
||||||
|
@Html.DisplayFor(x => x.ragsoc)
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="fw-bold fs-5"><span class="badge bg-secondary"><label asp-for="url_logo" class="agy-client-quote"></label></span></td>
|
||||||
|
<td>
|
||||||
|
@Html.DisplayFor(x => x.url_logo)
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="fw-bold fs-5"><span class="badge bg-secondary"><label asp-for="testo_buono" class="agy-client-quote"></label></span></td>
|
||||||
|
<td>
|
||||||
|
@{
|
||||||
|
string testo = string.Empty;
|
||||||
|
testo = Model.testo_buono;
|
||||||
|
}
|
||||||
|
@Html.Raw(@testo)
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="fw-bold fs-5"><span class="badge bg-secondary"><label asp-for="azienda" class="agy-client-quote"></label></span></td>
|
||||||
|
<td>
|
||||||
|
@Html.DisplayFor(x => x.azienda)
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td colspan="2">
|
||||||
|
<form asp-action="DeleteConfirmed">
|
||||||
|
<input type="submit" value="Elimina" class="agy-btn submitForm" />
|
||||||
|
<input type="hidden" id="azienda" value=@Html.DisplayFor(model => model.azienda) name="azienda" />
|
||||||
|
<input type="hidden" id="tecnico" value=@Html.DisplayFor(model => model.tecnico) name="tecnico" />
|
||||||
|
|
||||||
|
<a asp-action="Index" class="agy-btn submitForm">Torna alla lista</a>
|
||||||
|
|
||||||
|
</form>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user