Rev 37680 | Blame | Compare with Previous | Last modification | View Log | RSS feed
<script type="text/javascript">$(function () {getVendorAheadOptions($("#typeaheadVendor"), function (selectedVendor) {$('#vendorId').val(selectedVendor.id + "");}, function () {return $('#warehouseMap').val();});// The supplier list depends on the warehouse, so a new warehouse clears the supplier picked for the old one.$('#warehouseMap').on('change', function () {$('#typeaheadVendor').val('');$('#vendorId').val('');});});</script><section class="wrapper"><div class="row"><div class="col-lg-12"><h3 class="page-header"><i class="icon_document_alt"></i>PURCHASE ORDER</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>Create</li></ol></div></div><div class="row"><div class="col-lg-12"><form class="form-inline" action=""><div class="form-group"><select class="form-control input-sm" id="warehouseMap" name="warehouseMap" placeholder="Warehouse"><option value="" disabled selected>Warehouse</option>#foreach($wm in $warehouseMap.entrySet()))<option value="$wm.getKey()">$wm.getValue()</option>#end</select></div><div class="form-group"><input placeholder="Enter Vendor Name" type="text" class="typeahead form-control"id="typeaheadVendor" name="Item" data-provide="typeahead" value="" autocomplete="off"><input id="vendorId" type="hidden"/></div><div class="form-group"><label for="poDate">PO Date</label><input type="date" max="$currentDate" value="$currentDate" id="poDate"></div><button type="button" class="btn btn-primary purchaseorderitemview">Sumbit</button></form></div></div><div class="row"><div class="col-lg-12">Note - Backdated POs are approved automatically in your name, and the HODs are notified.</div></div><div class="createpurchaseordercontainer"></div></section>