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