<%= 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 %> <% @myAddAld = true @myPrintAld = true @myDeletAld = true @myEditAld = true %> <% if@retHead!=nil && @retHead.mcn_status=='C' %>
This Return MRN has been Cancelled
<% end %>
Ret. No. [*]
Ret. Date [*]
Supplier[*]
 
Prepared By
<% sitenames = '' if @retHead!=nil sitecode = @retHead.mcn_siteno objsite = get_site_names(@compcodes,sitecode) if objsite sitenames = objsite.st_name end end %>
Site [*]
Remarks
 
 
 
 
<% if @mrnDetails!=nil %> <% i = 1 @tqnt = 0; @ttaxamnt = 0; @tnetamnt = 0; @tvalues = 0; @taval = 0; @tcashval = 0; @mrnDetails.each do |mncdt| @tqnt += mncdt.mcnd_accepted_qnty.to_i @ttaxamnt += mncdt.mcnd_tax_amount.to_f @tnetamnt += mncdt.mcnd_net_amount.to_f @tvalues += mncdt.mcnd_value.to_f @tx = mncdt.mcnd_tax_on ntx = 0 if @tx.to_f >0 ntx1 =(@tx.to_f*mncdt.mcnd_value.to_f)/100 ntx = mncdt.mcnd_value.to_f-ntx1.to_f @tcashval +=@tcashval.to_f+ntx.to_f end %> <% i +=1 end %> <% else %> <% end %>
Sl.No Level Type of Work Mat. Category Description UOM PO No PO Date Balance Qty Return Qty Qty Accptd Unit Price Value Tax On % Tax % Tax Amnt Net Amount Remark
 <%=i%> 
Please select MRN for return receive material.

<% end %>"/>
<% end %>"/>
<% end %>"/>
<% end %>"/>
 
<% isblock = "save.png" if @pathsMrn!=nil isblock="update.png" end %>
<% if @isUpdateAlwd %> <% end %>
<% if @isCancelPath!=nil %> <% else %> <% end %>
<% end %>
<%=render 'layouts/common/select_sitewise_mrn'%> <%=render 'layouts/common/message_common'%>