..
This commit is contained in:
@@ -27,7 +27,8 @@
|
||||
</div>
|
||||
<div class="form-group col-md-2">
|
||||
<label class="col-sm-4 col-form-label" for="inputinvoiceTypeTitle">نوع</label>
|
||||
<select @bind="invoice.invoiceType" class="form-control" aria-label="Default select example" id="inputinvoiceTypeTitle">
|
||||
@if (InvoiceID == 0 || InvoiceID == null ? false : true){
|
||||
<select @bind="invoice.invoiceType" disabled class="form-control" aria-label="Default select example" id="inputinvoiceTypeTitle">
|
||||
@if (!invoice.invoiceType.HasValue)
|
||||
{
|
||||
<option value="0" style="color: #b5b5b5" selected>انتخاب کنید...</option>
|
||||
@@ -53,7 +54,15 @@
|
||||
}
|
||||
|
||||
|
||||
</select>
|
||||
</select>
|
||||
}
|
||||
else
|
||||
{
|
||||
<select @bind="invoice.invoiceType" class="form-control" aria-label="Default select example" disabled id="inputinvoiceTypeTitle">
|
||||
<option value="10" style="color: #b5b5b5" selected>پیشنهاد قیمت</option>
|
||||
|
||||
</select>
|
||||
}
|
||||
</div>
|
||||
|
||||
<div class="form-group col-md-2">
|
||||
@@ -121,6 +130,9 @@
|
||||
<InputText style=" text-align: center;" @bind-Value="invoice.InvoiceDate" type="text" class="form-control" id="inputInvoiceDate" placeholder="تاریخ" />
|
||||
</div>
|
||||
</div>
|
||||
@if (InvoiceID == 0 || InvoiceID == null ? false : true)
|
||||
{
|
||||
|
||||
<br /> <hr class="hr" />
|
||||
<div class="row g-3">
|
||||
<Tabs NavStyle="NavStyle.VerticalUnderline">
|
||||
@@ -160,19 +172,21 @@
|
||||
|
||||
</Tabs>
|
||||
</div>
|
||||
|
||||
}
|
||||
<hr class="hr" />
|
||||
<br />
|
||||
<div class="row g-3">
|
||||
<div class="form-group col-md-8">
|
||||
<label class="col-sm-4 col-form-label" for="inputdes">توضیحات</label>
|
||||
<div class="form-group col-md-6">
|
||||
<label class="col-form-label" for="inputdes">توضیحات</label>
|
||||
<InputText @bind-Value="invoice.Des" type="text" class="form-control" id="inputdes" placeholder="توضیحات" />
|
||||
</div>
|
||||
<div class="form-group col-md-2">
|
||||
<label class="col-sm-5 col-form-label" for="inputUdate">آخرین ویرایش</label>
|
||||
<label class="col-form-label" for="inputUdate">آخرین ویرایش</label>
|
||||
<InputText style=" text-align: center;" @bind-Value="invoice.Udate" class="form-control" id="inputUdate" readonly />
|
||||
|
||||
</div>
|
||||
<div class="form-group col-md-2">
|
||||
<div class="form-group col-md-4">
|
||||
<br />
|
||||
@if (invoice.ID == 0)
|
||||
{
|
||||
@@ -411,8 +425,8 @@
|
||||
{
|
||||
CustomerID = invoice.CustomerID,
|
||||
Des = invoice.Des,
|
||||
InvoiceDate = invoice.InvoiceDate,
|
||||
InvoicIssueDate = invoice.InvoicIssueDate,
|
||||
InvoiceDate = invoice.InvoiceDate.Replace("/",""),
|
||||
InvoicIssueDate = invoice.InvoicIssueDate.Replace("/", ""),
|
||||
PatternID = invoice.PatternID,
|
||||
Title = invoice.Title
|
||||
});
|
||||
|
Reference in New Issue
Block a user