<%= render "layouts/portlet-config" %> <%= render "layouts/theme-panel" %> <% if flash[:error] %>
× <%= flash[:error] %>
<% end %> <%= render "layouts/breadcrumbs" %> <%=form_tag({:action=>'create'} ,:multipart=>true,:id=>"myForms" ) do %> <% if @mrnDetails!=nil && @mrnDetails.mcn_status=='C' %>
This MRN is cancelled
<% end %>
MRN No. [*]
MRN Date [*]
Gate Entry No.
Gate Entry Date
Challan No.
Challan Date
Supplier[*]
Purchase Type
Bill No.
Bill Date
Prepared By
Currency 
Reference No.
Remarks
GST No
Closing Balance
 
 
 
<% prinallow = "hidden" cancelhd = "hidden" approvedstatus = "none" cancellaow = "" myupdate = "save" if @mrnDetails myupdate = "update" if @mrnDetails.mcn_status.to_s !='C' prinallow = "" cancelhd = "" end if @mrnDetails.mcn_status.to_s =='C' cancellaow = "hidden" end if @mrnDetails.mcn_status.to_s =='C' approvedstatus = "none" end end %>
OEM No. Product Code Description UOM PO No. PO Date Bal. Qty Challan Qty Short / Excess Qty Rcvd Qty Rjctd Qty Accptd Unit Price Value Tax % Tax Amnt Net Amount Remark
<% if cancellaow !='hidden' %> <% end %>
<% i = 1 totalqty = 0 totalvalue = 0 taxamt = 0 netamt = 0 if @ListMrnItem && @ListMrnItem.length >0 @ListMrnItem.each do |leds| totalqty += leds.mcnd_accepted_qnty.to_f totalvalue += leds.mcnd_value.to_f taxamt += leds.mcnd_tax_amount.to_f netamt += leds.mcnd_net_amount.to_f %> <% i +=1 end else %> <% end %>
Sl.No OEM No. Product Code Description UOM PO Number PO Date Balance Qty Challan Qty Short / Excess Qty Rcvd Qty Rjctd Qty Accptd Unit Price Value Tax % Tax Amnt Net Amount Remark Action
<%=i%> <%=leds.mcnd_oem%> <%=leds.mcnd_itemcode%> <%=leds.mcnd_itemname%> <%=leds.mcnd_uom%> <%=leds.mcnd_ponumber%> <%=leds.mcnd_podate%> <%=leds.mcnd_blance_qnty%> <%=leds.mcnd_challan_qnty%> <%=leds.mcnd_excess%> <%=leds.mcnd_receive_qnty%> <%=leds.mcnd_rejected_qnty%> <%=leds.mcnd_accepted_qnty%> <%=leds.mcnd_rate%> <%=leds.mcnd_value%> <%=leds.mcnd_tax%> <%=leds.mcnd_tax_amount%> <%=leds.mcnd_net_amount%> <%=leds.mcnd_remarks%> <% if cancellaow!='hidden' %> <% end %> <% if cancellaow!='hidden' %> <% end %>
No record(s) found.
Total Quantity
Total Value
Total Tax Amount
Net Amount
 
<% if @mrnDetails !=nil %> <% end %>
<% if @mrnDetails %> <% else %> <% end %>
<% end %>
<%=render 'layouts/common/po_number_list_views'%> <%=render 'layouts/common/mrn_otp_updated'%>