2008-09-14  Jonathan Gonzalez V.  <zeus@gnu.org>

	* encriptar.c: Clean up of commented code.

2008-09-10  Jonathan Gonzalez V.  <zeus@gnu.org>

	* rizoma_inventario.c (main): Added some checks related to what
	parms are passed using the command line.
	(main): Set to "Inventario" all the info of the first big buy.

2008-09-02  Jonathan Gonzalez V.  <zeus@gnu.org>

	* postgres-functions.c (FiFo): Fixed bug. Replaced %d for a proper %s.

2008-09-01  Jonathan Gonzalez V.  <zeus@lunareja>

	* credito.c (search_client): Fixed bug reported by Victor.

2008-08-19  Jonathan Gonzalez V.  <zeus@gnu.org>

	* postgres-functions.c (SearchTuplesByDate): Added a condition to
	avoid null sales.

2008-08-18  Jonathan Gonzalez V.  <zeus@gnu.org>

	* postgres-functions.c (FiFo): Changed to use the plpgsql function
	calculate_fifo.

2008-08-13  Jonathan Gonzalez V.  <zeus@gnu.org>

	* compras.c (on_btn_add_new_product_clicked): Added the proper
	check looking for repeated short code and barcode.

2008-08-07  Jonathan Gonzalez V.  <zeus@gnu.org>

	* rizoma-config.c (create_config): Changed the default profile
	from DEFAULT to RIZOMA.

	* ventas.c (nullify_sale_win): Set to selection none the tree view
	with the details of a sale.

	* rizoma_informes.c (reports_win): Removed the max width to
	columns on tree_view_sell_rank tree view.
	(reports_win): Added the proper symbol at the end of every column
	to show if they are money or percent numbers.
	(fill_caja_data): Added payed cash to the cash box report.

	* administracion_productos.c (admini_box): Changed the column type
	stock from INT to DOUBLE.

2008-08-06  Jonathan Gonzalez V.  <zeus@gnu.org>

	* ventas.c (on_btn_nullify_search_clicked): Modified the query
	that gets the sales to nullify.
	(on_btn_nullify_ok_clicked): Fixed some minor bugs.
	(on_selection_nullify_sales_change): Removed condition that was
	asking for the id_detail on venta_anulada.

	* manejo_productos.c (ListClean): Fixed to not pass anything when
	venta->header is a null pointer.

	* ventas.c (on_btn_nullify_ok_clicked): Modified to deal with the
	new nullify concept.

	* postgres-functions.c (nullify_sale): Modified to accept only one
	argument, the sale id.

	* ventas.c (nullify_sale_datail): Deleted function.

2008-07-29  Jonathan Gonzalez V.  <zeus@lunareja.lunareja>

	* rizoma_informes.c (fill_caja_data): Replaced the use of a big
	query for a plpsql function.

2008-07-29  Jonathan Gonzalez V.  <zeus@gnu.org>

	* administracion_productos.c (ModificarMargenVenta): Fixed to fit
	with the use of GtkBuilder.
	(Recepcion, RecivirWindow, Devolucion, DevolucionWindow): Deleted functions.
	Deleted unnecessary vars.

2008-07-28  Jonathan Gonzalez V.  <zeus@lunareja.lunareja>

	* caja.h: Deleted GtkWidget *caja_button.

	* caja.c (ArqueoCajaLastDay): Deleted function.

	* ventas.c (FillProductSell): Replaced g_ascii_strtod() for
	g_strtod() and PUT macro.
	(SearchProductByCode): Added a gdouble stock var to eval if the
	product really has stock. This avoid any problem of products with
	stock between 0 and 1.

2008-07-27  Jonathan Gonzalez V.  <zeus@gnu.org>

	* rizoma_informes.c (fill_products_rank): Avoided the problem that
	was showing a nan% when there wasn't a margin.

	* postgres-functions.c (ReturnProductsRank): Replaced the long
	query for the use of ranking_ventas() plpsql function.

2008-07-25  Jonathan Gonzalez V.  <zeus@lunareja.lunareja>

	* manejo_productos.c (CompraCreateNew): If the product doesn't
	exist we return NULL.
	(CompraAgregarALista): If we couldn't get the info of a product we
	return FALSE.

	* compras.c (AddToProductsList): Deleted code that was launching
	AskForCurrentPrice() function. If the barcode it's empty we just
	return without doing nothing.
	(AskForCurrentPrice, AcceptCurrentPrice)
	(CloseAskForCurrentPrice): Deleted functions.
	(AddToProductsList): Added check to know if the product was added
	to the list.

	* postgres-functions.c (GetDayToSell): Deleted function.
	(GetVencDate, GetElabDate, PagarFactura): Deleted commented code.

2008-07-25  Jonathan Gonzalez V.  <zeus@gnu.org>

	* postgres-functions.c (PutComa): Any coma or point will be
	replaced by the decimal point defined with the locale.

	* manejo_productos.c (CalcularTotalCompra): Changed to gdouble the
	type of variable total.

	* compras.c (SearchProductHistory): Used only the plpsql function
	informacion_producto() to get the info to show on buy tab. This
	will speed up the time that take show this information.

	* ventas.c (check_passwd, exit_response): Added the use of
	log_register_access () to log the login/logout of a user.

	* utils.c (log_register_access): Added function to register a log
	in/out of a user into the log table.

2008-07-24  Jonathan Gonzalez V.  <zeus@gnu.org>

	* caja.c (on_btn_cash_box_open_clicked)
	(on_btn_cash_box_close_clicked): Added functions to open and close
	the cash box using buttons from the main sell window.
	(on_btn_cash_box_clicked): Added function.

	* ventas.c (ventas_win): Removed call to prepare_caja() at the end.
	(on_delete_ventas_gui): Deleted code that was asking to close the
	cash box if the user was the admin.

	* config_file.c (rizoma_get_value, rizoma_get_value_int)
	(rizoma_get_value_boolean, rizoma_get_double_list): Added check of
	DEBUG define to know if we must show an error message when a key
	isn't found on rizoma config file.

	* ventas.c (Descuento): Fixed some problem to calculate percent
	from an amount of money.
	Deleted some commented code.
	(DatosCheque): Deleted commented code.
	Deleted commented functions. TipoVenta() and FillDatosVenta().
	(ventas_win): Added function that must show cash_box buttons when
	the client has set to 1 the value of CAJA on rizoma config file.

2008-07-23  Jonathan Gonzalez V.  <zeus@gnu.org>

	* ventas.c (TipoVenta): Set the focus to entry_discount_money
	every time the window it's called.

	* utils.c (display_calendar): Added calendar_focus_out() to
	handler "focus-out-event" event, this will destroy the widget if
	the user release the focus of the calendar. Now display_calender
	sets the current date as the one on the entry if has one.

	* compras.c (on_btn_remove_buy_product_clicked): Added
	function. It must remove a product from the products buy list.
	(on_button_buy_clicked): Check if we really have products on the
	buy list.
	(Save): Added SearchPoroductHistory() FillFields() at the end to
	reflect changes on the proper tab.
	(on_buy_notebook_switch_page): Deleted some commented code.

2008-07-22  Jonathan Gonzalez V.  <zeus@gnu.org>

	* ventas.c (Descuento): Deleted commented code.
	(TipoVenta): Use clean_container() to clean up the container
	tipo_venta_win_venta.
	(Descuento): Fixed function to deal better with percent and money
	discount.
	(on_btn_nullify_search_clicked): Fixed to properly free the memory
	allocated by condition var.
	(on_selection_nullify_sales_change): Fixed query to not include
	the products already nullified.

2008-07-17  Jonathan Gonzalez V.  <zeus@gnu.org>

	* rizoma-config.c: Deleted include of libgksu.h

2008-07-14  Jonathan Gonzalez V.  <zeus@gnu.org>

	* administracion_productos.c (AjustarMercaderia): Let user adjust
	to zero a stock product.

2008-07-11  Jonathan Gonzalez V.  <zeus@gnu.org>

	* credito.c (ClientStatus, CloseClientStatus): Deleted function.

	* postgres-functions.c (ReturnClientCredit): Changed the return
	type from gchar * to gint.

	* ventas.c (CloseWindowClientSelection, WindowClientSelection)
	(SeleccionarCliente, SelectClient, AddDataEmisor, CancelarTipo):
	Deleted functions.

2008-07-10  Jonathan Gonzalez V.  <zeus@gnu.org>

	* utils.c (clean_container): Fixed bug that was deleting labels of
	any widget inside a container even those inside a stock button or
	radio button.

2008-07-09  Jonathan Gonzalez V.  <zeus@gnu.org>

	* compras.c (on_button_new_product_clicked): Move
	clean_container() at the begging so we clean and then set the text.
	(on_btn_get_request_clicked): Added function.
	(on_btn_nullify_buy_clicked): Added as handler to btn_nullify_buy.
	(ChangeSave): Deleted function.
	(CloseSearchByName): Deleted function.
	(CloseSelectProveedores): Deleted function.
	(Ingresar): Deleted function.
	(RemoveBuyProduct): Deleted function.
	(on_button_ok_ingress_clicked): Added clean_container() to all the
	windows called by this function.

	* postgres-functions.c (IngresarProducto): Fix possible bug that
	can produce a bad calculation when try to get how many products
	where interchanged.

2008-07-08  Jonathan Gonzalez V.  <zeus@gnu.org>

	* administracion_productos.c (CloseProductDescription): Deleted function.
	(ModificarProducto): Added paramater widget_barcode to get the barcode
	from that widget.

	* compras.c (AddProveedor): To check if a provider exists we just
	use "rut" without the verify digit.

2008-07-07  Jonathan Gonzalez V.  <zeus@gnu.org>

	* caja.c (caja_get_last_amount): Make sure that we have something
	to get from the last SQL excecuted.

	* rizoma-config.c (on_page_change): Deleted the code that set to
	TRUE the complete state of page four.

2008-07-06  Jonathan Gonzalez V.  <zeus@gnu.org>

	* rizoma-config.c (on_btn_conneciton_test_clicked): Created to
	test connection.

2008-07-04  Jonathan Gonzalez V.  <zeus@gnu.org>

	* ventas.c (on_btn_credit_sale_clicked): Replaced g_strsplit() for
	parse_rut, this should prevent an error of parse when a user
	decide to introduce a rut with or without dots and strips.

	* utils.c (parse_rut): Added function.

	* ventas.c (on_sell_button_clicked): Added 'CHASH' to sell type
	when sell directly.
	Indented some lines, deleted tabs.

2008-07-02  Jonathan Gonzalez V.  <zeus@gnu.org>

	* ventas.c: Replaced informacion_producto() for
	informacion_producto_venta().

2008-06-27  Jonathan Gonzalez V.  <zeus@gnu.org>

	* rizoma-config.c (on_radio_btn_type_network_toggled): Added
	function to handle the toggle on network button.
	(on_page_change): Prefer the use of if-elseif instead of many if.
	(on_page_change): Added code to deal with page two.

2008-06-25  Jonathan Gonzalez V.  <zeus@gnu.org>

	* ventas.c (main): Added an error message when
	rizoma_open_config() returns NULL.

	* admin.c (main): Added an error message when rizoma_open_config()
	returns NULL.

	* compras.c (main): Added an error message when
	rizoma_open_config() returns NULL.

2008-06-18  Jonathan Gonzalez V.  <zeus@gnu.org>

	* compras.c (CheckDocumentData): Added a new way to find the
	proper entry to check data. We check on all the entries on the wnd
	passed using wnd parameter.
	(SearchProductHistory): Deleted commented code use it with "canje"
	feature. Added short-code to product info.
	(AskElabVenc): Now we get the data here to pass it to
	CheckDocumentData() and then to IngresarCompra().
	(on_button_ok_ingress_clicked): Fixed bug that duplicated columns.
	(Save): Deleted unnecessary code.
	(AddNewProduct): Deleted function replaced by
	on_button_new_product_clicked.
	(CloseAddWindow): Deleted function.
	(AddNew): Deleted function, replaced by on_btn_add_new_product_clicked.
	(ToggleSelect): Deleted function.
	(FillDetPagos): Deleted function.
	(on_btn_pay_invoice_clicked): Fixed to use GtkBuilder to get the
	GtkWidget for ErrorMSG().

	* utils.c (clean_container): Adde g_free and g_list_free to the
	widget_name and list.

2008-06-17  Jonathan Gonzalez V.  <zeus@gnu.org>

	* compras.c (on_partial_cell_renderer_edited): Added function edit
	a cell_renderer on partial ingress treeviews.
	(on_button_ok_ingress_clicked): Added
	on_partial_cell_renderer_edited as handler for signal edited on
	"Cant. Ing." column renderer for partial invoice and guide ingress.
	(CambiarStock): Deleted function.
	(on_btn_ok_ingress_partial_guide_clicked)
	(on_btn_ok_ingress_partial_invoice_clicked): Added function.

2008-06-16  Jonathan Gonzalez V.  <zeus@gnu.org>

	* compras.c (AskPagarCaja): Deleted function.
	(PagarDocumentoWin, ClosePagarDocumentoWin, PagarToggle): Deleted function
	(on_btn_pay_invoice_clicked): Created function to deal with
	clicked action and pay an invoice.
	(Pagar): Deleted function.
	(FillPartialTree): Added function to fill treeview on partial
	ingress for guide an invoices.

	* postgres-functions.c (PagarFactura): Commented code that insert
	data into "pagos" table. Deleted previous parameters and just use
	id_invoice to update an invoice.

	* compras.c (CalcularTotalesGuias): Changed to use the new tables
	guias_compra_detalle and guias_compra.

2008-06-15  Jonathan Gonzalez V.  <zeus@gnu.org>

	* compras.c (ClearPagosData): Deleted Function.
	(on_btn_ok_srch_provider_clicked): Added var tab and guide to know
	in what tab we are so we can know if we'll set on guide or invoice
	labels.
	(on_entry_guide_invoice_provider_activate): Changed from
	on_entry_guide_invoice_activate().
	(on_entry_invoice_provider_activate): Silly function that use
	on_entry_guide_invoice_provider_activate() to show up the search
	provider window.
	(compras_win): Added store to tree_view_invoice_list treeview.
	(IngresoDetalle): Use GtkSelection received with the signal.

2008-06-13  Jonathan Gonzalez V.  <zeus@gnu.org>

	* postgres-functions.c (AsignarFactAGuia): Changed to use the
	plpsql function.

	* compras.c (InformeCompras, InformeComprasShow): Deleted.

	* postgres-functions.c (IngresarGuia): Added the column list to
	insert data.
	(IngresarDetalleDocumento): Changed to use the new tables
	separated for guide and invoice.

2008-06-11  Jonathan Gonzalez V.  <zeus@gnu.org>

	* compras.c (CloseAskIngreso|Canjeables|CanjeablesWindow): Deleted.
	(CheckCanjeables): Deleted.

	* ventas.c (ventas_win): Added initialize on NULL to GError.

	* compras.c (on_button_ok_ingress_clicked): Added code to deal
	with partial_invoice ingress.

	* tiempo.c (RefreshTime): Deleted function.
	(__days): Deleted.
	(__months): Deleted.

	* Makefile.am: Added 2008 to the copyright years list.

	* tiempo.c: Added 2008 to the copyright years list.

	* tipos.h: Added 2008 to the copyright years list. Deleted some
	vars used with the old interface.

	* compras.c (AddFactura): Changed to use GDate.
	(ShowProductDescription): Deleted function.
	(SearchProductHistory): Deleted old commented code. Added comments
	to keep out the use of label_canje and label_stock_pro vars.
	(compras_win|RemoveBuyProduct): "gtk_widget_set_sensitive
	(confirm_button, TRUE);" deleted.
	(IngresoParcial|ChangeIngreso): Deleted function.
	(CambiarStock): Commented function, can be used in the future.
	(ElabVencCal|CloseElabVenc): Deleted.
	(SetElabVenc|DrawAsk): Deleted
	(AskIngreso): Deleted commented code.
	(CloseAskIngreso): Deleted unnecessary code.
	(on_button_ok_ingress_clicked): Added code to deal with
	partial_guide ingress.

2008-06-10  Jonathan Gonzalez V.  <zeus@gnu.org>

	* compras.c (on_tree_selection_pending_guide_changed): Added
	function to deal with the proper signal and fill the bottom tree
	view with the product list of the selected guide.

	* utils.c (clean_container): Added support to deal with tree views
	and treat a gtk_treeview as a widget not as a container.

	* utils.h: Added declaratino of clean_container().

	* compras.c (CalcularTotalesGuias|CheckMontoGuias): Changed to use the GtkBuilder interface.

2008-06-07  Jonathan Gonzalez V.  <zeus@gnu.org>

	* utils.c (clean_container): Added function to clean
	containers. Focused on GtkWindows and clean any GtkLabel or
	GtkEntry without a number on the widget name.
	(clean_container): Replaced the do-while for a while.

2008-06-06  Jonathan Gonzalez V.  <zeus@gnu.org>

	* compras.c
	(on_btn_invoice_guide_clicked|on_btn_guide_invoice_clicke): Added
	function to handle the proper signal.
	(AddGuia|DelGuia): Deleted function. No one use it now.

2008-06-05  Jonathan Gonzalez V.  <zeus@gnu.org>

	* compras.c (on_entry_srch_provider_activate): Created to deal
	with the activate signal of entry and find on srch_provider
	window. Search and find a provider.
	(SelectProveedor|CloseSelectProveedor): Deleted function.
	(ClearFactData): Modified to deal with the widget from GtkBuilder.

2008-06-04  Jonathan Gonzalez V.  <zeus@gnu.org>

	* compras.c (FillGuias): Changed query to get pending guides.
	(compras_win): Added columns to treeviews.
	(on_entry_guide_invoice_activate): Added function to deal with the
	button signal.

2008-05-16  Jonathan Gonzalez V.  <zeus@gnu.org>

	* utils.c (parse_date): Dropped, not need it anymore.

	* compras.c (IngresarCompra): Last part to deal with an ingress guide.

	* postgres-functions.c (IngresarGuia): Changed the type of input
	values related to date from gchar * to gint.

2008-05-15  Jonathan Gonzalez V.  <zeus@gnu.org>

	* compras.c (CheckDocumentData): Fixed to use parse_date to get
	the GDate from the date string set by calendar_display.

	* utils.c (parse_date): Created this function to deal with a parse
	of date and return a GDate, this should not be useful when
	g_date_set_parse deal with DDMMYY date format.

	* compras.c (CheckDocumentData): Changed to deal with invoice and
	guide at the same time. We really need a better way to check data.

2008-05-12  Jonathan Gonzalez V.  <zeus@gnu.org>

	* postgres-functions.c (IngresarFactura): The n_doc argument and
	the arguments related to date all moved to gint.

	* compras.c (IngresarCompra): Added the invoice argument to know
	when we will ingress an invoice or not.

	* utils.c (display_calendar): Added a -1 when set the month on the
	GtkCalendar, this sinces GtkCalendar set the months from 0 to 11
	and GDate set them from 1 to 12 and left 0 for a bad month. Also
	add  valid date check.

2008-05-06  Jonathan Gonzalez V.  <zeus@gnu.org>

	* compras.c: (check_regexp): Drop function. It should't ever be here.

	* utils.c (display_calendar): Fixed the position of the
	GtkCalendar and drop the use of the vbox to put the calendar
	inside the GtkWindow. Some order and drop the use of unnecessary functions.
	(validate_string): Add function.

2008-05-04  Jonathan Gonzalez V.  <zeus@gnu.org>

	* utils.c: Added this function to display a calendar ander a
	button and put the selected date into a GtkEntry. This is to
	replace the GnomeDateEdit widget that isn't supported yet with GtkBuilder.

2008-04-27  Jonathan Gonzalez V.  <zeus@gnu.org>

	* compras.c (SearchProductHistory|AddToProductsList): Use of GtkBuilder.
	(ShowProductDescription|compras_win): Deleted commented code. We
	have VC use it if you want to read old code.
	(FillDataProduct): Deleted function. It was just commented code.
	(AddToProductsList): Use GtkBuilder. Add some brackets.
	(on_button_buy_clicked): Added new function to handle button
	signal clicked.
	(Comprar): Deleted the use of function InsertarCompras(), this was
	inserting an creating a treeview everytime that we bought something.
	(CallBacksTabs): Rename this function for on_buy_notebook_change_current_page().
	(CalcularTotales): Modified to use GtkBuilder.

2008-04-05  Jonathan Gonzalez V.  <zeus@gnu.org>

	* compras.c (compras_win): Added GError to gtk_builder_add_from_file
	to check any wrong object.

	* ventas.c (ventas_win): Added GError to gtk_builder_add_from_file
	to check any wrong object.

2008-03-29  Jonathan Gonzalez V.  <zeus@gnu.org>

	* compras.c (SearchByName): Changed to void the input vars.

	* ventas.c (BuscarProducto): Eliminated an unuseful cast.

	* compras.c (SearchByName): Use the .ui interface.
	(ClearAllCompraData): Deleted some commented code.

2008-03-23  Jonathan Gonzalez V.  <zeus@gnu.org>

	* compras.c (compras_win): Commented all the old code. Added the
	use of GtkBuilder to build the gui.
	(on_barcode_entry_activate|on_buy_barcode_entry_activate): Added
	functions. Doesn't do anything yet
	(AddNew|AddFoundProduct): Commented line that run the SearchProductHistory, this
	should not happend?.

	* config_file.c (rizoma_get_value): Changed the return and input
	types from char * to gchar *.
	Deleted all the tabs and re-indent.

	* Makefile.am (bin_PROGRAMS): Eliminated the creation of
	rizoma-admin while we finish the creation of rizoma-compras.

	* ventas.c (main): Changed the type of *argv[] to **argv. Just style.
	(main): Deleted the code that get the screen size.
	Deleted gint screen_width and gint screen_height.

2006-07-02  Jonathan Gonzalez V.  <zeus@gnu.org>

	* ventas.c (SearchBarcodeProduct): No nothing is showed if the
	user hasn't put information to search. We prevent large search on
	DB and information not requested.

2006-06-28  Jonathan Gonzalez V.  <zeus@gnu.org>

	* compras.c (CalcularPrecioFinal): Added a consideration of have
	no IVA on all the conditionals.

	* postgres-functions.c (SaveBuyProducts): Added 'if
	(products->product->iva != -1)' to prevent the calc of IVA when
	this isn't set it.

2006-06-18  Jonathan Gonzalez V.  <zeus@gnu.org>

	* main.c (main): Modified the ask password window, added a lock
	icon and re-ordered the entry for user and password.

2006-06-03  Jonathan Gonzalez V.  <zeus@gnu.org>

	* rizoma-config.c (main): Enable the cancel button on all the
	pages of the druid.

2006-06-02  Jonathan Gonzalez V.  <zeus@gnu.org>

	* config_file.c (rizoma_read_conf): Fixed the bug produced when
	the config file contained a blank line or a line started with #.

2006-05-31  Jonathan Gonzalez V.  <zeus@gnu.org>

	* proveedores.c (proveedores_box): Fill with more data the
	TreeView listing the suppliers.
	(ModificarProveedor): Fixed the warning produced by the value
	returned by gtk_entry_get_text () (const gchar *), used a cast.
	(BuscarProveedor): Fixed the bug that the search was
	discriminating between upper and lower case letters.

2006-05-29  Jonathan Gonzalez V.  <zeus@gnu.org>

	* proveedores.c (proveedores_box): Changed the type of how the rut
	of a supplier it's showed from an entry to a label.
	(ModificarProveedor): Created to modify a supplier.

2006-05-24  Jonathan Gonzalez V.  <zeus@gnu.org>

	* config_file.c (rizoma_save_file): Committed the line that
	printed the Rizoma POS version on the config file. Possibly buggy.

	* vale.c (PrintVale): Fixed the problem that printed confused
	values on the ticket.

2006-05-09  Jonathan Gonzalez V.  <zeus@gnu.org>

	* compras.c (FillProveedores): Added an order to the list of
	proveedores so we can search in a big list without problems.

2006-05-07  Jonathan Gonzalez V.  <zeus@gnu.org>

	* ventas.c (CanjearProducto): Fixed the problem reported in Los Lagos.

2006-05-06  Jonathan Gonzalez V.  <zeus@gnu.org>

	* manejo_productos.c (SearchProductByBarcode): The function
	returned a product even if the product didn't exist on the list.

2006-04-10  Jonathan Gonzalez V.  <zeus@gnu.org>

	* compras.c (CheckCanjeables): We check if the compra->header
	isn't NULL because this produce a segmentation fault.

2006-04-09  Jonathan Gonzalez V.  <zeus@gnu.org>

	* ventas.c (ventas_box): Fixed the accelerator that was
	overwritten a previous one for F6.

	* postgres-functions.c (ReturnUsername): Added to get the username
	just having the id.

	* usuario.c (user_box): Set to false the visibility of the entry
	boxes that change a user password.

	* main.c (PutPoints): Created a new conditional to accept and
	reject any NULL argument.

2006-04-08  Jonathan Gonzalez V.  <zeus@gnu.org>

	* ventas.c (ventas_box): Commented the section that show the
	"facturar" and "Guia" options.

2006-04-04  Jonathan Gonzalez V.  <zeus@gnu.org>

	* main.c (MainWindow): Fixed the line 658 it were accepting the
	wrong user level.
	(MainWindow): Added a new condition in the line 718 so only a user
	with level 0 can do the action.

	* ventas.c (SearchBarcodeProduct): Dropped the ModfiedBarcode,
	cause we do not need to put a '-' on the barcode.

2006-03-27  Jonathan Gonzalez V.  <zeus@gnu.org>

	* encriptar.c (AcceptPassword): Modified the SQL sentence to check
	if the user is already using the system.

	* main.c (MainWindow): Changed "Gestion Total" by "Rizoma
	Comercio" the real name :).

2006-03-22  Jonathan Gonzalez V.  <zeus@gnu.org>

	* tipos.h (_user): Added the "level" member to know what is the
	level of the current user.

2006-03-19  Jonathan Gonzalez V.  <zeus@gnu.org>

	* vale.c: Created to store the ticket system.
	(PrintVale): Print the given ticket.

	* tiempo.c (CurrentTime): We need a function to get the current time

	* vale.c (PrintVale): Created this funciton to print a ticket

2006-03-15  Jonathan Gonzalez V.  <zeus@gnu.org>

	* main.c (PutPoints): Fixed the bug that put it two points or more
	in the string number.

