Batch coding of secondary packing material

can we code batch no, mfg,exp date , MRP and particular supply…etc on both sides of carton for secondary packing of tablets and ointments! (im questioning about actually its in case of one side of coding is not good then can we proceed to code other side of the carton?)
Is it deviation of cGMP?