commit
This commit is contained in:
parent
663783beb4
commit
d65a459b36
BIN
.vs/OSS/v16/.suo
BIN
.vs/OSS/v16/.suo
Binary file not shown.
|
|
@ -210,15 +210,23 @@
|
|||
<% }
|
||||
%>
|
||||
</text>);
|
||||
columns.Add().Caption("Actions").Width(250).CellTemplate(@<text>
|
||||
columns.Add().Caption("Actions").Width(300).CellTemplate(@<text>
|
||||
<% if(data.InvoiceID != null)
|
||||
{%>
|
||||
<a href="@Url.Action("DownloadInvoice", "NewCOI")?invoiceId=<%= data.InvoiceID %>" target="_blank" class="btn btn-outline-primary btn-sm mr-1">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"></path><polyline points="7 10 12 15 17 10"></polyline><line x1="12" y1="15" x2="12" y2="3"></line></svg> Invoice
|
||||
</a>
|
||||
<a href="@Url.Action("ProcessReceipt", "NewCOI")?ID=<%= data.InvoiceID %>" target="_blank" class="btn btn-outline-success btn-sm">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"></path><polyline points="7 10 12 15 17 10"></polyline><line x1="12" y1="15" x2="12" y2="3"></line></svg> Download
|
||||
</a>
|
||||
<% if(data.PaymentStatus == true)
|
||||
{%>
|
||||
<a href="@Url.Action("ProcessReceipt", "NewCOI")?ID=<%= data.InvoiceID %>" target="_blank" class="btn btn-outline-success btn-sm">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"></path><polyline points="7 10 12 15 17 10"></polyline><line x1="12" y1="15" x2="12" y2="3"></line></svg> Download
|
||||
</a>
|
||||
<% }
|
||||
else
|
||||
{%>
|
||||
<span class="badge badge-warning">Waiting Payment</span>
|
||||
<% }
|
||||
%>
|
||||
<% }
|
||||
%>
|
||||
</text>);
|
||||
|
|
|
|||
Loading…
Reference in New Issue