This pull request includes several changes to the MiFarma project, focusing on adding file writing functionality and updating file handling methods. The most important changes include the addition of methods to write data to files, updates to file handling in the ControllerProgram class, and renaming of files to reflect their purpose better.
File Writing Functionality:
MiFarma/Boleta.h: Added escribirArchivo method to write Boleta details to a file.
MiFarma/Empleado.h: Added escribirArchivo method to write Empleado details to a file.
MiFarma/Pedido.h: Added escribirArchivo method to write Pedido details to a file.
MiFarma/Producto.h: Added escribirArchivo method to write Producto details to a file.
MiFarma/Proveedor.h: Added escribirArchivo method to write Proveedor details to a file.
MiFarma/Reclamos.h: Added escribirArchivo method to write Reclamo details to a file.
MiFarma/Usuario.h: Added escribirArchivo method to write Usuario details to a file.
These changes enhance the functionality of the MiFarma project by enabling data persistence through file writing and improving the clarity of file handling operations.
This pull request includes several changes to the
MiFarma
project, focusing on adding file writing functionality and updating file handling methods. The most important changes include the addition of methods to write data to files, updates to file handling in theControllerProgram
class, and renaming of files to reflect their purpose better.File Writing Functionality:
MiFarma/Boleta.h
: AddedescribirArchivo
method to writeBoleta
details to a file.MiFarma/Empleado.h
: AddedescribirArchivo
method to writeEmpleado
details to a file.MiFarma/Pedido.h
: AddedescribirArchivo
method to writePedido
details to a file.MiFarma/Producto.h
: AddedescribirArchivo
method to writeProducto
details to a file.MiFarma/Proveedor.h
: AddedescribirArchivo
method to writeProveedor
details to a file.MiFarma/Reclamos.h
: AddedescribirArchivo
method to writeReclamo
details to a file.MiFarma/Usuario.h
: AddedescribirArchivo
method to writeUsuario
details to a file.File Handling Updates:
MiFarma/ControllerProgram.h
: Updated file opening methods to use new file names for reading operations. [1] [2] [3] [4] [5] [6]MiFarma/ControllerProgram.h
: AddedactualizarLogistica
method to write updated data to respective files. [1] [2]File Renaming:
MiFarma/ListaEmpleados.txt
renamed toMiFarma/LecturaListaEmpleados.txt
.Miscellaneous:
MiFarma/Libreria.h
: Defined new file names for reading and writing operations.MiFarma/VistaEmpleado.h
: Updated menu options and removed theactualizarLogistica
method. [1] [2] [3]These changes enhance the functionality of the
MiFarma
project by enabling data persistence through file writing and improving the clarity of file handling operations.