(a)The sheriff of each county may establish, maintain and operate a store in connection with the county jail and for this purpose may purchase confectionery, tobacco and tobacco users' supplies, postage and writing materials, and toilet articles and supplies and sell these goods, articles, and supplies for cash to inmates in the jail.
(b)The sale prices of the articles offered for sale at the store shall be fixed by the sheriff. Any profit shall be deposited in an inmate welfare fund to be kept in the treasury of the county.
(c)There shall also be deposited in the inmate welfare fund 10 percent of all gross sales of inmate hobbycraft.
(d)There shall be deposited in the inmate welfare fund any money, refund, rebate, or commission received from a telephone company or pay telephone provider when the money, refund, rebate, or commission is attributable to the use of pay telephones which are primarily used by inmates while incarcerated.
(e)The money and property deposited in the inmate welfare fund shall be expended by the sheriff primarily for the benefit, education, and welfare of the inmates confined within the jail. Any funds that are not needed for the welfare of the inmates may be expended for the maintenance of county jail facilities. Maintenance of county jail facilities may include, but is not limited to, the salary and benefits of personnel used in the programs to benefit the inmates, including, but not limited to, education, drug and alcohol treatment, welfare, library, accounting, and other programs deemed appropriate by the sheriff. Inmate welfare funds shall not be used to pay required county expenses of confining inmates in a local detention system, such as meals, clothing, housing, or medical services or expenses, except that inmate welfare funds may be used to augment those required county expenses as determined by the sheriff to be in the best interests of inmates. An itemized report of these expenditures shall be submitted annually to the board of supervisors.
(f)The operation of a store within any other county adult detention facility which is not under the jurisdiction of the sheriff shall be governed by the provisions of this section, except that the board of supervisors shall designate the proper county official to exercise the duties otherwise allocated in this section to the sheriff.
(g)The operation of a store within any city adult detention facility shall be governed by the provisions of this section, except that city officials shall assume the respective duties otherwise outlined in this section for county officials.
(h)The treasurer may, pursuant to Article 1 (commencing with Section 53600), or Article 2 (commencing with Section 53630) of Chapter 4 of Part 1 of Division 2 of Title 5 of the Government Code, deposit, invest, or reinvest any part of the inmate welfare fund, in excess of that which the treasurer deems necessary for immediate use. The interest or increment accruing on these funds shall be deposited in the inmate welfare fund.
(i)The sheriff may expend money from the inmate welfare fund to provide indigent inmates, prior to release from the county jail or any other adult detention facility under the jurisdiction of the sheriff, with essential clothing and transportation expenses within the county or, at the discretion of the sheriff, transportation to the inmate's county of residence, if the county is within the state or within 500 miles from the county of incarceration. This subdivision does not authorize expenditure of money from the inmate welfare fund for the transfer of any inmate to the custody of any other law enforcement official or jurisdiction.