312. The court which hears the appeal may exercise all the powers conferred by this Code on the judge whose judgment is appealed.
The court may, in particular, admit any new evidence, order the production of anything connected with the case, order the summons of any compellable witness, who may then be examined or cross-examined, as the case may be, by the parties, and make any order in the interests of justice.