When an appeal is taken pursuant to this code, fees of an attorney appointed to represent the juvenile offender shall be fixed by the district court. The fees, together with the costs of transcripts and records on appeal, shall be taxed as expenses on appeal. The court on appeal may assess the fees and expenses against the appealing party or order that they be paid from the county general fund. When the court orders the fees and expenses assessed against the appealing party:
K.S.A. 38-2384