# -*- coding: utf-8 -*-
#
# 		account.py
# 
# 		Created: 			14 Sep 2018
# 		Last up: 	 		14 Sep 2018
#



#------------------------------------------------ Get Account Code ---------------------------------------------------
# Format Float  
def fmt(floatx):
	#print 
	#print 'Format'

	return "%.2f"%floatx





#------------------------------------------------ Const ---------------------------------------------------
_dic = {
				'CONSULTA MEDICA': 														'2041100011', 
				'PROTECTOR SOLAR': 														'101111007', 
				'LASER CO2 FRACCIONAL - Cuello - Rejuvenecimiento Cuello Grado 1 - 1': 	'2041100151', 

				'Producto 1': 															'040010007', 	
}


#------------------------------------------------ Get Account Code ---------------------------------------------------
# Get Code 
def get_account_code(product):
	#print 
	#print 'Get Account Code'

	#if product.name in _dic: 
	#	code = _dic[product.name]
	#else:
	#	code = 'x'

	code = '5555555555'

	#return code 
	return code 

