fix semicolons as per codacy review
This commit is contained in:
		
							parent
							
								
									8dbc4e648b
								
							
						
					
					
						commit
						3b26b24af6
					
				| @ -12,7 +12,7 @@ frappe.ui.form.on("Journal Entry", { | ||||
| 
 | ||||
| 	refresh: function(frm) { | ||||
| 		erpnext.toggle_naming_series(); | ||||
| 		 | ||||
| 
 | ||||
| 		if(frm.doc.docstatus==1) { | ||||
| 			frm.add_custom_button(__('Ledger'), function() { | ||||
| 				frappe.route_options = { | ||||
| @ -144,7 +144,7 @@ frappe.ui.form.on("Journal Entry", { | ||||
| 						} | ||||
| 					} | ||||
| 				}); | ||||
| 			}  | ||||
| 			} | ||||
| 			else if(frm.doc.voucher_type=="Opening Entry") { | ||||
| 				return frappe.call({ | ||||
| 					type:"GET", | ||||
|  | ||||
| @ -30,8 +30,8 @@ frappe.ui.form.on("Journal Entry Template", { | ||||
| 				row.account = d.account; | ||||
| 			}); | ||||
| 			refresh_field("accounts"); | ||||
| 		} | ||||
| 	 | ||||
| 		}; | ||||
| 
 | ||||
| 		if(!frm.doc.company) return; | ||||
| 
 | ||||
| 		frm.trigger("clear_child"); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user