Blame | Last modification | View Log | RSS feed
<section class="wrapper"><div class="row"><div class="col-lg-12"><h3 class="page-header"><i class="icon_document_alt"></i>REFUND AS B2C</h3><ol class="breadcrumb"><li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li><li><i class="icon_document_alt"></i>REFUND AS B2C - $quote.getInvoiceNumber()</li></ol></div></div><div class="row"><div class="col-lg-8"><table class="table table-condensed table-bordered"><tr><th style="width:35%">Return</th><td>$quote.getInvoiceNumber() (PRO $quote.getPurchaseReturnOrderId())</td></tr><tr><th>Partner</th><td>$!partnerNameHtml ($!quote.getPartnerCode())</td></tr><tr><th>Buyer GSTIN</th><td>$!quote.getBuyerGstin()</td></tr><tr><th>NIC reason</th><td class="text-danger">$!reasonHtml</td></tr><tr><th>Failed attempts</th><td>$quote.getAttempts() (last $quote.getFormattedLastAttemptAt() by $!quote.getLastAttemptBy())</td></tr></table><table class="table table-condensed table-bordered"><thead><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></thead><tbody>#foreach($line in $quote.getLines())<tr><td>$!line.getDescription()</td><td class="text-right">$line.getQuantity()</td><td class="text-right">$line.getFormattedGross()</td><td class="text-right">$line.getFormattedGstRate()</td><td class="text-right">$line.getFormattedNet()</td></tr>#end</tbody><tfoot><tr><th colspan="4">Returned value (incl GST)</th><th class="text-right">$quote.getFormattedGrossTotal()</th></tr><tr><th colspan="4">GST retained (not refunded)</th><th class="text-right">$quote.getFormattedGstRetained()</th></tr><tr class="info"><th colspan="4">B2C refund amount</th><th class="text-right">Rs. $quote.getFormattedRefundAmount()</th></tr></tfoot></table>#if($quote.isAvailable())<div class="form-group"><label>Type the refund amount to confirm *</label><input type="text" id="b2c-amount" class="form-control" autocomplete="off" inputmode="numeric"placeholder="Whole rupees, e.g. 84746" data-expected="$quote.getRefundAmount()"/><small id="b2c-amount-error" class="text-danger" style="display:none">Amount does not match $quote.getFormattedRefundAmount()</small></div><div class="form-group"><label>Remark *</label><textarea id="b2c-remark" class="form-control" rows="2" placeholder="Why this return is being settled as B2C"></textarea></div><div class="checkbox"><label><input type="checkbox" id="b2c-consent"/>I confirm this return is treated as B2C: a credit note is issued without NIC filing and the GST portion is not refunded.</label></div><p class="text-muted">This option is open until $quote.getFormattedAvailableUntil().</p><button class="btn btn-danger b2c-refund-confirm" id="b2c-refund-confirm" disableddata-pro-id="$quote.getPurchaseReturnOrderId()" data-partner="$!partnerNameHtml"data-amount-label="$quote.getFormattedRefundAmount()">Refund as B2C</button><button class="btn btn-default b2c-refund-cancel">Cancel</button>#else<div class="alert alert-warning">The B2C option closed at $quote.getFormattedAvailableUntil(). Retry the approval to re-check with NIC;if NIC refuses again, the B2C option reopens for that day.</div><button class="btn btn-default b2c-refund-cancel">Back</button>#end</div></div></section>