Beispiel #1
0
 private string Set_Retiro_Info(string contents = "", Ticket ticket = null)
 {
     if (ticket != null && ticket.log != null)
     {
         contents = contents.Replace("[EXPOSICION]", Utilities_Ticket_Log.Exposición_Equipo(ticket.log.equipment_exposition.Split(',')));
         contents = contents.Replace("[OBSERVACIONES]", ticket.log.extra_1);
         string ef = (ticket.log.extra_3 != "") ? "•" + ticket.log.extra_3 : "";
         contents = contents.Replace("[EQUIPO_FALTANTE]", ef);
     }
     return(contents.Trim());
 }
Beispiel #2
0
 private string Set_Instalacion_Info(string contents = "", Ticket ticket = null)
 {
     if (ticket != null && ticket.log != null)
     {
         contents = contents.Replace("[CONEXION]", Utilities_Ticket_Log.Conection(ticket.log.connetion.Split(',')));
         contents = contents.Replace("[D_INTALACION]", Utilities_Ticket_Log.Detalle_Instalacion(ticket.log.instalation_detaill.Split(',')));
         contents = contents.Replace("[EXPOSICION]", Utilities_Ticket_Log.Exposición_Equipo(ticket.log.equipment_exposition.Split(',')));
         contents = contents.Replace("[PRUEBAS]", Utilities_Ticket_Log.Pruebas(ticket.log.others.Split(',')));
         contents = contents.Replace("[OBSERVACIONES]", ticket.log.extra_1);
     }
     return(contents.Trim());
 }