...
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
@page "/TaxPayerInvoiceItem/{InvoiceID:int}"
|
||||
@page "/FullInvoiceItem/{InvoiceID:int}"
|
||||
@using Front.Services
|
||||
@using Shared
|
||||
@using Shared.DTOs
|
||||
@layout PanelLayout
|
||||
@inject HttpClientController hc;
|
||||
@@ -130,8 +131,6 @@ else
|
||||
{
|
||||
item.Value = bill;
|
||||
}
|
||||
<input @bind-value="item.Value" style="text-align:center;" class="form-control" type="text" placeholder="@item.fName" disabled />
|
||||
|
||||
}
|
||||
else if (item.eName.ToLower() == "inp")
|
||||
{
|
||||
@@ -140,28 +139,23 @@ else
|
||||
{
|
||||
item.Value = patt;
|
||||
}
|
||||
<input @bind-value="item.Value" style="text-align:center;" class="form-control" type="text" placeholder="@item.fName" disabled />
|
||||
|
||||
}
|
||||
else if (item.eName.ToLower() == "ins")
|
||||
{
|
||||
var patt = Patterns.Where(w => w.ID == Convert.ToInt32(item.Value)).Select(s => s.Title).FirstOrDefault();
|
||||
if (patt != null)
|
||||
{
|
||||
item.Value = patt;
|
||||
}
|
||||
<input @bind-value="item.Value" style="text-align:center;" class="form-control" type="text" placeholder="@item.fName" disabled />
|
||||
|
||||
InvoiceType foo = (InvoiceType)Enum.Parse(typeof(InvoiceType), item.Value);
|
||||
item.Value = foo.GetEnumDisplayName();
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
else
|
||||
else if (item.eName.ToLower() == "tob")
|
||||
{
|
||||
CustomerType foo = (CustomerType)Enum.Parse(typeof(CustomerType), item.Value);
|
||||
item.Value = foo.GetEnumDisplayName();
|
||||
|
||||
}
|
||||
|
||||
<input @bind-value="item.Value" style="text-align:center;" class="form-control" type="text" placeholder="@item.fName" disabled />
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user