[fixes]
diff --git a/erpnext/buying/doctype/supplier/supplier.js b/erpnext/buying/doctype/supplier/supplier.js
index f233a79..1538a94 100644
--- a/erpnext/buying/doctype/supplier/supplier.js
+++ b/erpnext/buying/doctype/supplier/supplier.js
@@ -42,9 +42,9 @@
 				if(r.message["company_currency"].length == 1) {
 					cur_frm.dashboard.set_headline(
 						__("Total Billing This Year: ") + "<b>"
-						+ format_currency(r.message.total_billing, company_currency[0])
+						+ format_currency(r.message.total_billing, r.message.company_currency[0])
 						+ '</b> / <span class="text-muted">' + __("Unpaid") + ": <b>"
-						+ format_currency(r.message.total_unpaid, company_currency[0])
+						+ format_currency(r.message.total_unpaid, r.message.company_currency[0])
 						+ '</b></span>');
 				}
 			}
diff --git a/erpnext/patches.txt b/erpnext/patches.txt
index df3d772..bc9f3ba 100644
--- a/erpnext/patches.txt
+++ b/erpnext/patches.txt
@@ -36,6 +36,7 @@
 execute:frappe.delete_doc("DocType", "MIS Control")
 execute:frappe.delete_doc("Page", "Financial Statements")
 execute:frappe.delete_doc("DocType", "Stock Ledger")
+execute:frappe.reload_doc("accounts", "doctype", "journal_entry") # 2014-12-31
 execute:frappe.db.sql("update `tabJournal Entry` set voucher_type='Journal Entry' where ifnull(voucher_type, '')=''")
 execute:frappe.delete_doc("DocType", "Grade")
 execute:frappe.db.sql("delete from `tabWebsite Item Group` where ifnull(item_group, '')=''")
diff --git a/erpnext/public/js/pos/pos.js b/erpnext/public/js/pos/pos.js
index 5357d8e..da2de90 100644
--- a/erpnext/public/js/pos/pos.js
+++ b/erpnext/public/js/pos/pos.js
@@ -370,14 +370,10 @@
 		});
 
 		me.refresh_delete_btn();
-<<<<<<< HEAD:erpnext/accounts/doctype/sales_invoice/pos.js
-		if(me.frm.doc[this.party.toLowerCase()]) {
-=======
 		//me.focus();
 	},
 	focus: function() {
-		if(me.frm.doc[this.party]) {
->>>>>>> v5-design:erpnext/public/js/pos/pos.js
+		if(me.frm.doc[this.party].toLowerCase()) {
 			this.barcode.$input.focus();
 		} else {
 			if(!(this.frm.doctype == "Quotation" && this.frm.doc.quotation_to!="Customer"))