File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,13 +24,11 @@ void registro_ventas ();
2424 * @brief Esta funcion se encargara de llevar el total de dinero que posee
2525 * la tienda en base a las compras y ventas realizadas
2626 *
27- * @param compra_total cantidad de dinero utilizado en inversiones
28- * @param venta_total ingresos totales de ventas realizadas
2927 */
3028void dinero_total ();
3129
3230/**
33- * @brief
31+ * @brief Menu de Opciones de Contabilidad
3432 *
3533 * @return true
3634 * @return false
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ void registro_ventas() /* Muestra el Registro de Ventas realizadas */
2929 return print_factura ();
3030}
3131
32- void dinero_total ()
32+ void dinero_total () /* Muestra el total del dinero */
3333{
3434 clear_screen ();
3535 printf ("El Dinero Total Obtenido es: %d\n" , obtener_ventas_suma () - obtener_suplidor_suma ());
@@ -62,7 +62,7 @@ bool contabilidad_menu()
6262 sscanf (_temp , "%hd" , & temp );
6363 flag = true;
6464
65- } while (temp < 0 || temp > 4 );
65+ } while (temp < 0 || temp > 5 );
6666
6767 switch (temp )
6868 {
@@ -77,7 +77,8 @@ bool contabilidad_menu()
7777 break ;
7878
7979 case DT :
80- dinero_total ;
80+ dinero_total ();
81+ getchar ();
8182 break ;
8283
8384 case BACK_MENU :
You can’t perform that action at this time.
0 commit comments