minor bugs in the customer class fixed

Last Ticket Code Id added in the dashboard added