44 lines
1.2 KiB
Plaintext
44 lines
1.2 KiB
Plaintext
@using Front.Services
|
|
@using Shared.DTOs
|
|
@inject HttpClientController hc;
|
|
<form>
|
|
|
|
<div class="row g-3">
|
|
<label class="col-sm-5 col-form-label">وضعیت ارسال</label>
|
|
<InputText @Value="inData.msgSentStatus" type="text" class="form-control" id="msgSentStatus" placeholder="وضعیت ارسال" />
|
|
</div>
|
|
@if (inData.SentStatus == SentStatus.Unsuccessful)
|
|
{
|
|
<div class="row g-3">
|
|
<table class="table">
|
|
<caption>لیست خطاهای صورتحساب</caption>
|
|
<thead>
|
|
<tr>
|
|
<th scope="col">کد</th>
|
|
<th scope="col">متن</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
@foreach (var item in inData.error)
|
|
{
|
|
<tr>
|
|
<td>@item.code</td>
|
|
<td>@item.message</td>
|
|
</tr>
|
|
}
|
|
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
}
|
|
|
|
|
|
|
|
</form>
|
|
|
|
|
|
|
|
@code {
|
|
[Parameter] public DataInSendTaxDto inData { get; set; }
|
|
}
|