Index: sources/view/VTreatmentCreate.cpp =================================================================== diff -u -r1465d5abe36c0ed823697cf1182893abd8cf95e1 -r87b082e1323c0fb59a1ecc85acfce2a5f77d677b --- sources/view/VTreatmentCreate.cpp (.../VTreatmentCreate.cpp) (revision 1465d5abe36c0ed823697cf1182893abd8cf95e1) +++ sources/view/VTreatmentCreate.cpp (.../VTreatmentCreate.cpp) (revision 87b082e1323c0fb59a1ecc85acfce2a5f77d677b) @@ -148,12 +148,12 @@ /*! * \brief VTreatmentCreate::generateTxCode - * \details Generates the txCode by combination of the HD serial number and date and time in yyyyMMddHHmm + * \details Generates the txCode by combination of the HD serial number and date and time in yyyyMMddHHmmss * And updates the TreatmenLog class to be saved in the Tx Report. */ void VTreatmentCreate::generateTxCode() { QDateTime datetime = QDateTime::currentDateTime(); - QString today = datetime.toString("yyyyMMddHHmm"); + QString today = datetime.toString("yyyyMMddHHmmss"); txCode(_HDSerialNumber + today); _TreatmentLog.gTxCode(_txCode); LOG_APPED_UI(QString("Generated Treatment Code is %1").arg(_txCode));