Subo cambios en plena produccion11

This commit is contained in:
Michael Robles
2024-02-02 20:55:21 -07:00
parent 6f6be01916
commit 76bc57c080
7 changed files with 8 additions and 4 deletions
Binary file not shown.
+8 -4
View File
@@ -625,7 +625,7 @@ namespace compabetov2
// Configuración de la fuente y del área de impresión
Font fuente = new Font("Arial", 8); // Ajustar el tamaño de fuente según sea necesario
Font fuente = new Font("Arial", 10); // Ajustar el tamaño de fuente según sea necesario
PointF posicion = new PointF(0, e.MarginBounds.Top);
// Imprimir el contenido
@@ -670,8 +670,9 @@ namespace compabetov2
cadenas = textoLbTotal.Split('$');
string totalProducto = cadenas[1];
resultado += $"{productoNombre} | ${precioProducto} | {cantidadProducto}\n";
resultado += $"{(productoNombre.Length > 10 ? $"{productoNombre}\n" : $"{productoNombre}")} | ${precioProducto} | {cantidadProducto}\n";
}
return resultado;
}
@@ -886,11 +887,14 @@ namespace compabetov2
if(detallesEnvio.Count > 0){
if (service.crearEnvio(envio, detallesEnvio))
{
MessageBox.Show("Envio hecho");
ImprimirTicketEnvio();
eliminarProductosTocket();
llenarLayout();
total=0;
ImprimirTicketEnvio();
}
else
{
Binary file not shown.
Binary file not shown.
BIN
View File
Binary file not shown.
Binary file not shown.
Binary file not shown.