3 * @link https://datagram.co.jp/source/bksj for the canonical source repository
4 * @copyright Copyright (c) 2006-2019 Datagram Ltd. (https://datagram.co.jp)
5 * @license https://datagram.co.jp/source/bksj/license.txt
10 $basic = $ctrl->basic;
12 $ldmsg = (empty($lcdt)) ? '計算処理が未処理です。' : $lcdt;
14 <script type="text/javascript">
24 gotoNext: function(func, act) {
26 if (act == 'calculate') {
27 if (confirm('帳票作成のための計算を実行しますか?')) {
28 this.last.text('計算中');
36 this.next.attr('target' , '_self');
41 popup: function(func, act) {
42 if (this.lcdt == '') {
43 alert('計算処理が未処理です。 ');
48 this.next.attr('target', '_blank');
54 this.next = $('#next');
55 this.func = $('#func');
57 this.last = $('#last');
58 this.lcdt = '<?= $lcdt ?>';
68 <form method="post" name="next" id="next" action="<?= $base ?>">
69 <input type="hidden" name="func" id="func">
70 <input type="hidden" name="act" id="act">
73 <table id="my_header" width="100%">
76 <a onclick="return my.gotoNext('UserMenu', '');">メニュー</a>
77 > 計算処理/帳票処理
79 <td style="text-align: right;">
80 <button type="button" class="my_magenta" style="width: 120px;" onclick="return my.gotoNext('Login', '');">ログアウト</button>
84 <td colspan="2" style="text-align: center;">
85 <?= $view->strBasic($basic) ?>
90 <div style="height: 5px;"> </div>
95 <table class="my_table" width="100%">
97 <th class="my_border">計算処理/帳票処理</th>
101 <div style="height: 1px;"> </div><hr>
108 <td style="padding: 8px;">
109 <button type="button" class="my_green" style="width: 200px; height: 30px;" onclick="return my.gotoNext('UserCalc', 'calculate');">帳簿整理(計算)</button>
111 <td style="width: 80px;"> </td>
113 <button type="button" class="my_magenta" style="width: 200px; height: 30px;" onclick="return my.gotoNext('UserMenu', '');">戻る</button>
121 <div style="height: 1px;"> </div><hr>
123 <div style="height: 8px;"> </div>
125 <table class="my_table">
127 <th class="my_border" width="140px">
130 <td class="my_border" width="210px" style="text-align: center;">
131 <div id="last"><?= $ldmsg ?></div>
136 <div style="height: 8px;"> </div>
138 <div style="height: 1px;"> </div><hr>
140 <div style="height: 8px;"> </div>
143 $btn_atr = 'class="my_cyan" style="width: 300px; height: 30px;"';
150 <td style="padding: 3px;">
151 <button type="button" <?= $btn_atr ?>></button>
153 <td style="width: 50px;"></td>
154 <td style="padding: 3px;">
155 <button type="button" <?= $btn_atr ?>></button>
165 <td style="padding: 3px;">
166 <button type="button" <?= $btn_atr ?> onclick="return my.popup('UserCalc', 'slip');">仕訳帳</button>
168 <td style="width: 50px;"></td>
169 <td style="padding: 3px;">
170 <button type="button" <?= $btn_atr ?> onclick="return my.popup('UserCalc', 'pl');">損益計算書</button>
180 <td style="padding: 3px;">
181 <button type="button" <?= $btn_atr ?> onclick="return my.popup('UserCalc', 'ledger');">総勘定元帳</button>
183 <td style="width: 50px;"></td>
184 <td style="padding: 3px;">
185 <button type="button" <?= $btn_atr ?> onclick="return my.popup('UserCalc', 'bs');">貸借対照表</button>
195 <td style="padding: 3px;">
196 <button type="button" <?= $btn_atr ?> onclick="return my.popup('UserCalc', 'tb_detail');">試算表(詳細)</button>
198 <td style="width: 50px;"></td>
199 <td style="padding: 3px;">
200 <button type="button" <?= $btn_atr ?> onclick="return my.popup('UserCalc', 'pls');">損益計算書(決算)</button>
210 <td style="padding: 3px;">
211 <button type="button" <?= $btn_atr ?> onclick="return my.popup('UserCalc', 'tb');">試算表</button>
213 <td style="width: 50px;"></td>
214 <td style="padding: 3px;">
215 <button type="button" <?= $btn_atr ?> onclick="return my.popup('UserCalc', 'bss');">貸借対照表(決算)</button>
225 <td style="padding: 3px;">
226 <button type="button" <?= $btn_atr ?>></button>
228 <td style="width: 50px;"></td>
229 <td style="padding: 3px;">
230 <button type="button" <?= $btn_atr ?>></button>