From 46e8084aeaa3e8b5a1c61d4b7e4e55cc96f79a00 Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Thu, 24 Jan 2013 15:22:06 +0530 Subject: [PATCH] fixes to language --- stock/doctype/serial_no/serial_no.js | 27 ++++++++-------- .../doctype/support_ticket/support_ticket.txt | 32 ++++++------------- 2 files changed, 22 insertions(+), 37 deletions(-) diff --git a/stock/doctype/serial_no/serial_no.js b/stock/doctype/serial_no/serial_no.js index af62c722ff..9e1426c6a4 100644 --- a/stock/doctype/serial_no/serial_no.js +++ b/stock/doctype/serial_no/serial_no.js @@ -8,28 +8,27 @@ // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License -// along with this program. If not, see . +// along with this program. If not, see . cur_frm.cscript.onload = function(doc, cdt, cdn) { - if(!doc.status) set_multiple(cdt, cdn, {status:'In Store'}); - if(doc.__islocal) hide_field(['supplier_name','address_display']) + if(!doc.status) set_multiple(cdt, cdn, {status:'In Store'}); + if(doc.__islocal) hide_field(['supplier_name','address_display']) } cur_frm.cscript.refresh = function(doc, cdt, cdn) { - if(!doc.__islocal) { - flds = ['item_code', 'warehouse', 'purchase_document_type', 'purchase_document_no', 'purchase_date', 'purchase_time', 'purchase_rate', 'supplier'] - for(i=0;i