The district attorneys of this state, the parish of Orleans excepted, shall receive a commission of five per cent on all amounts they may collect in any suit in favor of the state, parish or school boards, and the commissions, as now allowed by law, for collections on forfeited bonds.