Rev 31443 | Blame | Compare with Previous | 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>#springMessage("invoicegrn.invoicesummary")</h3><ol class="breadcrumb"><li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">#springMessage("invoicegrn.downloadinvoice")</a></li></ol></div></div><div class="row">#if($isAdmin)<input placeholder="#springMessage("invoicegrn.enterpartnername")" type="text" class="typeahead form-control"id="typeaheadpartner" name="partner" data-provide="typeahead" value="" autocomplete="off">#end<div class="col-lg-12"><h3>#springMessage("invoicegrn.invoicesformonth") <input type="month" value="$yearMonth" class="mk_billing_month"/><a class="btn btn-primary btn-lg" role="button" href="/purchase-invoice/$yearMonth" target="_blank">#springMessage("invoicegrn.downloadall")</a></h3></div><div class="col-lg-8"><table class="table-condensed table"><thead><tr><th>#springMessage("invoicegrn.invoicenumber")</th><th>#springMessage("invoicegrn.invoicedate")</th><th>#springMessage("invoicegrn.action")</th></tr></thead><tbody>#foreach($invoiceEntry in $invoiceMap.entrySet())<tr><td>$invoiceEntry.getKey()</td><td>$datehiphenFormatter.format($invoiceEntry.getValue())</td><td><a href="/purchase-invoice/$invoiceEntry.getKey()" target="_blank">Download</a></td></tr>#end</tbody></table></div></div></section><script type="text/javascript">$(function () {getPartnerAheadOptions($("#typeaheadpartner"), function (selectedPartner) {partnerId = selectedPartner.partnerId;});$('input.mk_billing_month').change(function () {debugger;loadInvoiceSummary($(this).val());})});</script>