@FXML
    private void handleMenuReportTotal(ActionEvent event) {
        FXMLLoader fxmlLoader = new FXMLLoader(PosApplication.class.getResource("ReportTotal.fxml"));
        final Region reportDetail;
        try {
            reportDetail = (Region) fxmlLoader.load();
        } catch (IOException e) {
            throw new RuntimeException(e);
        }

        Scene scene = new Scene(reportDetail);
        Stage stage = StageBuilder.create()
                .scene(scene)
                .build();
        stage.initModality(Modality.WINDOW_MODAL);
        stage.initOwner(rootPane.getScene().getWindow());
        stage.initStyle(StageStyle.UNDECORATED);

        stage.showAndWait();

        ReportTotalController controller = fxmlLoader.getController();
        if (controller.getUserAction() == UserAction.SUBMIT) {
            String yyyymm = controller.getCurrentMonth().replaceAll("/", "-");
            File file = new File(String.format("report_%s.txt", yyyymm));
            try (BufferedWriter bw = new BufferedWriter(new FileWriter(file))) {
                List<Map<String, Object>> maps = getPersist().readMapList(Sql.get("report-total.sql"), yyyymm);
                for (Map<String, Object> map : maps) {
                    String date = map.get("datetime").toString();
                    String total = map.get("total").toString();
                    bw.write(String.format("%s\t%s\r\n", date, total));
                    reportDetail(date, bw);
                }
                showMessageBar("レポートを作成しました");
            } catch (IOException e) {
                throw new RuntimeException(e);
            }
        }
    }