- Timestamp:
- 2010/09/22 13:23:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_5-dev/data/Smarty/templates/default/admin/order/status.tpl
r18700 r18819 43 43 <div> 44 44 <select name="change_status"> 45 <option value="" selected="selected" style="<!--{$Errormes|sfGetErrorColor}-->" >選択してください</option> 45 <option value="" selected="selected" style="<!--{$Errormes|sfGetErrorColor}-->" >選択してください</option> 46 46 <!--{foreach key=key item=item from=$arrORDERSTATUS}--> 47 47 <!--{if $key ne $SelectedStatus}--> … … 59 59 <!--{$tpl_strnavi}--> 60 60 </p> 61 61 62 62 <div class="btn"> 63 63 <button type="button" onclick="fnBoxChecked(true);"><span>全て選択</span></button> … … 72 72 <th>支払方法</th> 73 73 <th>購入金額(円)</th> 74 <th> 発送日</th>74 <th>入金日<br>発送日</th> 75 75 <th>対応状況</th> 76 76 <th>選択</th> … … 85 85 <td><!--{$arrPayment[$payment_id]|escape}--></td> 86 86 <td class="right"><!--{$arrStatus[cnt].total|number_format}--></td> 87 <td><!--{if $arrStatus[cnt].status eq 5}--><!--{$arrStatus[cnt].commit_date|sfDispDBDate:false}--><!--{else}-->未発送<!--{/if}--></td> 87 <td><!--{if $arrStatus[cnt].payment_date != ""}--><!--{$arrStatus[cnt].payment_date|sfDispDBDate:false}--><!--{else}-->未入金<!--{/if}--><br> 88 <!--{if $arrStatus[cnt].status eq 5}--><!--{$arrStatus[cnt].commit_date|sfDispDBDate:false}--><!--{else}-->未発送<!--{/if}--></td> 88 89 <td><!--{$arrORDERSTATUS[$status]}--></td> 89 90 <td><input type="checkbox" name="move[]" value="<!--{$arrStatus[cnt].order_id}-->" ></td> … … 92 93 </table> 93 94 <input type="hidden" name="move[]" value="" /> 94 95 95 96 <div class="btn"> 96 97 <button type="button" onclick="fnBoxChecked(true);"><span>全て選択</span></button> 97 98 <button type="button" onclick="fnBoxChecked(false);"><span>全て解除</span></button> 98 99 </div> 99 100 100 101 <p><!--{$tpl_strnavi}--></p> 101 102 102 103 <!--{elseif $arrStatus != "" & $tpl_linemax == 0}--> 103 104 <div class="message"> … … 105 106 </div> 106 107 <!--{/if}--> 107 108 108 109 <!--{* 登録テーブルここまで *}--> 109 110 </div> … … 113 114 <script type="text/javascript"> 114 115 <!-- 115 function fnSelectCheckSubmit(){ 116 function fnSelectCheckSubmit(){ 116 117 117 var selectflag = 0; 118 var selectflag = 0; 118 119 var fm = document.form1; 119 120 if(fm.change_status.options[document.form1.change_status.selectedIndex].value == ""){ 121 selectflag = 1; 122 } 123 124 if(selectflag == 1){ 125 alert('セレクトボックスが選択されていません'); 120 121 if(fm.change_status.options[document.form1.change_status.selectedIndex].value == ""){ 122 selectflag = 1; 123 } 124 125 if(selectflag == 1){ 126 alert('セレクトボックスが選択されていません'); 126 127 return false; 127 128 } … … 129 130 var checkflag = 0; 130 131 var max = fm["move[]"].length; 131 132 132 133 if(max) { 133 134 for (i=0;i<max;i++){ … … 146 147 return false; 147 148 } 148 149 if(selectflag == 0 && checkflag == 1){ 149 150 if(selectflag == 0 && checkflag == 1){ 150 151 document.form1.mode.value = 'update'; 151 document.form1.submit(); 152 document.form1.submit(); 152 153 } 153 154 } 154 155 155 156 function fnBoxChecked(check){ 156 157 var count; … … 161 162 } 162 163 } 163 164 164 165 //--> 165 166 </script>
Note: See TracChangeset
for help on using the changeset viewer.