Changeset 18057


Ignore:
Timestamp:
2009/06/09 11:54:54 (15 years ago)
Author:
Seasoft
Message:

merge r17806
・取得元: version-2_4
【取得元のログメッセージ】

  • #297 納品書PDF一括出力対応
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/comu-ver2/data/Smarty/templates/default/admin/order/index.tpl

    r18056 r18057  
    2424<script type="text/javascript"> 
    2525<!-- 
    26     function fnSelectCheckSubmit(){  
     26    function fnSelectCheckSubmit(action){ 
    2727 
    2828        var fm = document.form1; 
     
    5252        } 
    5353         
     54        fnOpenPdfSettingPage(action); 
     55    } 
     56 
     57    function fnOpenPdfSettingPage(action){ 
     58        var fm = document.form1; 
    5459        var WIN; 
    5560        WIN = window.open("about:blank", "pdf", "width=500,height=600,scrollbars=yes,resizable=yes,toolbar=no,location=no,directories=no,status=no"); 
    5661        fm.target = "pdf"; 
    5762        fm.mode.value = 'pdf'; 
    58         fm.action = 'pdf.php'; 
     63        fm.action = action; 
    5964        fm.submit();  
    6065        WIN.focus(); 
     
    297302        <button type="button" onclick="fnModeSubmit('csv','','');">CSV DOWNLOAD</button> 
    298303        <a href="../contents/csv.php?tpl_subno_csv=order">&gt;&gt; CSV出力項目設定</a> 
    299         <button type="button" onclick="fnSelectCheckSubmit();"><span>PDF一括出力</span></button> 
     304        <button type="button" onclick="fnSelectCheckSubmit('pdf.php');"><span>PDF一括出力</span></button> 
    300305    </p> 
    301306    <!--{include file=$tpl_pager}--> 
Note: See TracChangeset for help on using the changeset viewer.