Rev 20922 | Blame | Compare with Previous | Last modification | View Log | RSS feed
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><link rel="stylesheet" href = "/inventory/css/common.css" type="text/css"/><script type="text/javascript" src="/inventory/js/jquery-1.4.2.js"></script><script type="text/javascript" src="/inventory/js/jquery.validate.js"></script><script type="text/javascript" src = "/inventory/js/purchase-return.js"></script><title>Create New Purchase Return</title></head><body><a href = "/inventory/">Go to Home Page</a><br />#set($vendorNameMap=$action.getVendorMap())<h3 >Create Purchase Return</h3><form enctype="multipart/form-data" method="POST" action="/inventory/purchase-return!createPurchaseReturn"><div id = "vendor-selector"><label>Select Vendor : </label><select name = "purchaseReturnVendorId" id="vendor-selector" >#foreach($vendorNameMapEntry in $vendorNameMap.entrySet())<option id = $vendorNameMapEntry.key value=$vendorNameMapEntry.key>$vendorNameMapEntry.value</option>#end</select></div><br /><span>Bad Purchase Return</span><input type='checkBox' id = 'badPurchaseReturn' name = 'badPurchaseReturn' ><br /><span>Reason Text : </span><input type='text' id = 'reasonText' name = 'reasonText' ><br /><div id = "purchase-return-reason-type-selector"><label>Purchase Return Reason Type : </label><select name = "prReasonType" id="prReasonType" ><option value="WRONG_GRN">WRONG_GRN</option><option value="ACTUAL_PR" selected="selected">ACTUAL_PR</option><option value="REPLACEMENT">REPLACEMENT</option></select></div><br /><!-- <div id="grnIdDiv" hidden><span>GRN Id : </span><input type='text' id = 'grnId' name = 'grnId' ></div><br /> --><div id = "billing-warehouse-location-selector"><label>Billing Warehouse Location (Warehouse Id) : </label><select name = "billingWarehouseId" id="billingWarehouseId" >#foreach($billingWarhouseId in $action.getAuthorizedWarehousesForCurrentUser())<option value=$billingWarhouseId>$billingWarhouseId</option>#end</select></div><br /><input type ="submit"/><br /><div id = "serialized-return-div" align = "left"><h3>Serialized Items</h5><div id = "serialized-items-container"><label>IMEI Number : </label><input class = "imei-number" name = "returnImeiNumber" type = "textbox"/></div><img id = "add-serialized-return" src = "/inventory/images/add.png"/><br> or Upload IMEI Numbers(, or newline separated plain text)<br><input type="file" id="filename" name="upload"></div><div id = "nonserialized-return-div" align = "right"><h3>Non Serialized Items</h5><div id = "nonserialized-items-container"><label> ItemId : </label><input class = "return-itemId" name = "returnItemId" type = "textbox"/><label>Quantity : </label><input class = "return-qty" name = "returnQty" type = "textbox"/></div><img id = "add-nonserialized-return" src = "/inventory/images/add.png" /></div></form></body></html>