| 37791 |
amit |
1 |
<section class="wrapper">
|
|
|
2 |
<div class="row">
|
|
|
3 |
<div class="col-lg-12">
|
|
|
4 |
<h3 class="page-header"><i class="icon_document_alt"></i>REFUND AS B2C</h3>
|
|
|
5 |
<ol class="breadcrumb">
|
|
|
6 |
<li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
|
|
|
7 |
<li><i class="icon_document_alt"></i>REFUND AS B2C - $quote.getInvoiceNumber()</li>
|
|
|
8 |
</ol>
|
|
|
9 |
</div>
|
|
|
10 |
</div>
|
|
|
11 |
|
|
|
12 |
<div class="row">
|
|
|
13 |
<div class="col-lg-8">
|
|
|
14 |
<table class="table table-condensed table-bordered">
|
|
|
15 |
<tr><th style="width:35%">Return</th><td>$quote.getInvoiceNumber() (PRO $quote.getPurchaseReturnOrderId())</td></tr>
|
|
|
16 |
<tr><th>Partner</th><td>$!partnerNameHtml ($!quote.getPartnerCode())</td></tr>
|
|
|
17 |
<tr><th>Buyer GSTIN</th><td>$!quote.getBuyerGstin()</td></tr>
|
|
|
18 |
<tr><th>NIC reason</th><td class="text-danger">$!reasonHtml</td></tr>
|
|
|
19 |
<tr><th>Failed attempts</th><td>$quote.getAttempts() (last $quote.getFormattedLastAttemptAt() by $!quote.getLastAttemptBy())</td></tr>
|
|
|
20 |
</table>
|
|
|
21 |
|
|
|
22 |
<table class="table table-condensed table-bordered">
|
|
|
23 |
<thead>
|
|
|
24 |
<tr><th>Item</th><th class="text-right">Qty</th><th class="text-right">Value incl GST</th><th class="text-right">GST %</th><th class="text-right">Value excl GST</th></tr>
|
|
|
25 |
</thead>
|
|
|
26 |
<tbody>
|
|
|
27 |
#foreach($line in $quote.getLines())
|
|
|
28 |
<tr>
|
|
|
29 |
<td>$!line.getDescription()</td>
|
|
|
30 |
<td class="text-right">$line.getQuantity()</td>
|
|
|
31 |
<td class="text-right">$line.getFormattedGross()</td>
|
|
|
32 |
<td class="text-right">$line.getFormattedGstRate()</td>
|
|
|
33 |
<td class="text-right">$line.getFormattedNet()</td>
|
|
|
34 |
</tr>
|
|
|
35 |
#end
|
|
|
36 |
</tbody>
|
|
|
37 |
<tfoot>
|
|
|
38 |
<tr><th colspan="4">Returned value (incl GST)</th><th class="text-right">$quote.getFormattedGrossTotal()</th></tr>
|
|
|
39 |
<tr><th colspan="4">GST retained (not refunded)</th><th class="text-right">$quote.getFormattedGstRetained()</th></tr>
|
|
|
40 |
<tr class="info"><th colspan="4">B2C refund amount</th><th class="text-right">Rs. $quote.getFormattedRefundAmount()</th></tr>
|
|
|
41 |
</tfoot>
|
|
|
42 |
</table>
|
|
|
43 |
|
|
|
44 |
#if($quote.isAvailable())
|
|
|
45 |
<div class="form-group">
|
|
|
46 |
<label>Type the refund amount to confirm *</label>
|
|
|
47 |
<input type="text" id="b2c-amount" class="form-control" autocomplete="off" inputmode="numeric"
|
|
|
48 |
placeholder="Whole rupees, e.g. 84746" data-expected="$quote.getRefundAmount()"/>
|
|
|
49 |
<small id="b2c-amount-error" class="text-danger" style="display:none">Amount does not match $quote.getFormattedRefundAmount()</small>
|
|
|
50 |
</div>
|
|
|
51 |
<div class="form-group">
|
|
|
52 |
<label>Remark *</label>
|
|
|
53 |
<textarea id="b2c-remark" class="form-control" rows="2" placeholder="Why this return is being settled as B2C"></textarea>
|
|
|
54 |
</div>
|
|
|
55 |
<div class="checkbox">
|
|
|
56 |
<label>
|
|
|
57 |
<input type="checkbox" id="b2c-consent"/>
|
|
|
58 |
I confirm this return is treated as B2C: a credit note is issued without NIC filing and the GST portion is not refunded.
|
|
|
59 |
</label>
|
|
|
60 |
</div>
|
|
|
61 |
<p class="text-muted">This option is open until $quote.getFormattedAvailableUntil().</p>
|
|
|
62 |
<button class="btn btn-danger b2c-refund-confirm" id="b2c-refund-confirm" disabled
|
|
|
63 |
data-pro-id="$quote.getPurchaseReturnOrderId()" data-partner="$!partnerNameHtml"
|
|
|
64 |
data-amount-label="$quote.getFormattedRefundAmount()">Refund as B2C</button>
|
|
|
65 |
<button class="btn btn-default b2c-refund-cancel">Cancel</button>
|
|
|
66 |
#else
|
|
|
67 |
<div class="alert alert-warning">
|
|
|
68 |
The B2C option closed at $quote.getFormattedAvailableUntil(). Retry the approval to re-check with NIC;
|
|
|
69 |
if NIC refuses again, the B2C option reopens for that day.
|
|
|
70 |
</div>
|
|
|
71 |
<button class="btn btn-default b2c-refund-cancel">Back</button>
|
|
|
72 |
#end
|
|
|
73 |
</div>
|
|
|
74 |
</div>
|
|
|
75 |
</section>
|