<%= 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 @mrnDetails!=nil && @mrnDetails[0].mcn_status=='C' %>
This MRN is Cancelled
<% end %>
MRN No. [*]
MRN Date [*]
GateEntry No.
GateEntry Date
Challan No.
Challan Date
Bill No.
Bill Date
Supplier[*]
Prepared By
Ref. No.
Remarks
<% sitenames = '' if @mrnDetails!=nil sitecode = @mrnDetails[0].mcnd_siteno objsite = get_site_names(@compcodes,sitecode) if objsite sitenames = objsite.st_name end end %>
Site [*]
 Edit Unit Price
 
SL. NO. PO No PO
Date
Site
Name
Amount Fill
Please select supplier and site name.
 
 
 
 
<% manageblocks = '' %>
<% if @mrnDetails!=nil %> <% i = 1 k = 19 @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 %> <% k = k+i; %> <% i +=1 %> <% @cx = i %> <% end %> <% if @mrnDetails.length < 7 %> <% k = 19 i = @cx for i in @cx..7 do %> <% k = k+i; %> <% end %> <% end %> <% else %> <% k = 19 for i in 1..7 do %> <% k = k+i; %> <% k = k+6 %> <% end %> <% end %>
Sl.No Level No. Type of Work Mat. Category Description UOM PO No PO Date PO Balance
Qty
Short / Excess Qty Rcvd Qty Rjctd Qty Accptd Unit Price Value Tax On % Tax % Tax Amnt Net Amount Remark
 <%=i%> 
 <%=i%> 
 <%=i%> 

<% end %>"/>
<% end %>"/>
<% end %>"/>
<% end %>"/>
 
<% ck = k %> <% isblock = "save.png" if @pathsMrn!=nil isblock="update.png" end %>
<% if @isUpdateAlwd %> <% end %>
<% if @isCancelPath!=nil %> <% else %> <% end %>
<% end %>