HOUSTON -

A man has been accused of stealing from the candy store where he worked.

Ricky L. Welch, 49, has been charged with aggregate theft.

Welch was employed at the Candylicious store on West Alabama. He has been accused of stealing money from the store for about two years.

Detectives said one of the store's owners began to suspect Welch was stealing after the store's cashier software was upgraded. There were an unusually high number of voided sales, officials said.

"He would ring up a receipt and take the cash," Harris County Assistant District Attorney Katie Warren said. "After the customer had left the store, he would then void out the transaction and then pocket the cash."

The owner confronted Welch. According to court records, Welch admitted to taking the money and agreed to pay it back in monthly installments.

"It's not uncommon in these type of situations when employer discover these type of things to try to fix the problem in a civil arrangement, or something like that," Warren said.

Investigators said Welch took about $41,000 between October 2008 and March 2010. Two years after the agreement to pay the money back, Welch had repaid less than $1,000, officials said.

Welch is being held in the Harris County Jail without bond. If convicted of aggregate theft, he could get up to 10 years in prison.

Welch was previously arrested on a drug charge. He was serving a probated two-year sentence on that charge at the time he allegedly stole from the candy store.