From 0b40ccc43c772cb139f30fa8d13723e0d8115672 Mon Sep 17 00:00:00 2001 From: Neil Trini Lasrado Date: Wed, 3 Feb 2016 18:32:44 +0530 Subject: [PATCH] Removed unwanted code --- .../doctype/delivery_note/delivery_note.js | 42 ------------------- 1 file changed, 42 deletions(-) diff --git a/erpnext/stock/doctype/delivery_note/delivery_note.js b/erpnext/stock/doctype/delivery_note/delivery_note.js index 0b6f47e09f..3365fa2a95 100644 --- a/erpnext/stock/doctype/delivery_note/delivery_note.js +++ b/erpnext/stock/doctype/delivery_note/delivery_note.js @@ -193,48 +193,6 @@ cur_frm.cscript.print_without_amount = function(doc, cdt, cdn) { erpnext.stock.delivery_note.set_print_hide(doc, cdt, cdn); } - -//****************** For print sales order no and date************************* -cur_frm.pformat.sales_order_no= function(doc, cdt, cdn){ - //function to make row of table - - var make_row = function(title,val1, val2, bold){ - var bstart = ''; var bend = ''; - - return ''+(bold?bstart:'')+title+(bold?bend:'')+'' - +''+val1+(val2?' ('+dateutil.str_to_user(val2)+')':'')+'' - +'' - } - - out =''; - - var cl = doc.items || []; - - // outer table - var out='
'; - - // main table - out +=''; - - // add rows - if(cl.length){ - prevdoc_list = new Array(); - for(var i=0;i