When the verdict is given, and is such as the court may receive, and the jury is not again sent out, the clerk shall file the verdict. The verdict is then complete, and the jury shall be discharged from the case. The verdict shall be in writing, and under the direction of the court shall be substantially entered in the minutes as of the day's proceedings on which it was given.