Opomba
This commit is contained in:
@@ -1,7 +1,11 @@
|
||||
@using System.Globalization
|
||||
@model EveryThing.Models.Project.ProjectPartItem
|
||||
|
||||
<tr data-idpartitem="@Model.IdProjectPartItem" style="cursor: pointer;" ondblclick="if(!$(event.target).closest('a,button,input').length) { $('[data-toggle=tooltip]').tooltip('hide'); $(this).find('.btn-tbl-inline-edit').click(); }">
|
||||
@{
|
||||
var hasNote = !string.IsNullOrWhiteSpace(Model.Note);
|
||||
}
|
||||
|
||||
<tr data-idpartitem="@Model.IdProjectPartItem" class="@(hasNote ? "project-part-item-has-note" : "")" style="cursor: pointer;" ondblclick="if(!$(event.target).closest('a,button,input').length) { $('[data-toggle=tooltip]').tooltip('hide'); $(this).find('.btn-tbl-inline-edit').click(); }">
|
||||
<td style="width: 20px;">
|
||||
@if(Model.Status != Models.Project.ProjectPartItemStatus.Shipped)
|
||||
{
|
||||
@@ -18,6 +22,10 @@
|
||||
@Html.DisplayFor(modelItem => Model.IdItemFk)
|
||||
}
|
||||
<br/>
|
||||
@if (hasNote)
|
||||
{
|
||||
<i class="fas fa-sticky-note text-warning mr-1" data-toggle="tooltip" data-placement="top" title="@Model.Note"></i>
|
||||
}
|
||||
@(Model.ProjectPartNumberFormatted)
|
||||
</td>
|
||||
<td>
|
||||
|
||||
@@ -13,6 +13,10 @@
|
||||
border-top: none;
|
||||
}
|
||||
|
||||
.project-part-item-has-note {
|
||||
background-color: #fff8e1;
|
||||
}
|
||||
|
||||
.tab-panel-invoices{
|
||||
height: 490px;
|
||||
overflow-y: auto;
|
||||
|
||||
Reference in New Issue
Block a user