A car park attendant who stole €1,400 from his employer had been on the job for only two weeks when he was caught "dipping his fingers in the till", a court heard.
Robert Brennan (23) stole the cash from a safe and pay station to fund his gambling problem. He intended to repay the money but "lost it all".
Judge Michael Walsh adjourned the case for payment of compensation.
Brennan, of Coultry Place, Ballymun, pleaded guilty to theft.
Dublin District Court heard the accused was working at the Q car park on Schoolhouse Lane in the south city centre last January 16.
The premises was a multi- storey off Kildare Street, and Brennan had joined only two weeks previously.
He stole €405 from the safe in the staff office and €1,000 from a pay station.
He later attended Pearse Street Garda Station and told gardai he had a gambling problem and had intended to return the money but lost it all.Music
Brennan had never got into trouble before, his solicitor Murrough O'Rourke said.
He accepted it was very serious to steal from your employer, and Brennan had decided to "face the music", made a full statement to gardai and pleaded guilty.
Around €640 had been deducted from earnings when he was let go from the job, so he had already paid part compensation.
Brennan had been lucky enough to get another job in another firm since, said Mr O'Rourke.
He has apologised, was very anxious to pay the rest of the money back and asked the judge to adjourn the case to give him time to do that.
Judge Walsh said the offence involved a "breach of trust and honesty".
"He was only two weeks in the job and he was dipping his fingers in the till," the judge said. "The best expression of remorse is to pay this back."
Adjourning the case to July 8, he said it merited a custodial sentence and would be in "for review" on that date.
Brennan was remanded on continuing bail.