Changeset 18403
- Timestamp:
- 2009/12/01 16:23:09 (13 years ago)
- Location:
- branches/version-2_4/data
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_4/data/Smarty/templates/default/admin/order/edit.tpl
r18166 r18403 48 48 df.deliv_addr02.value = df.order_addr02.value; 49 49 } 50 51 function fnOpenPdfSettingPage(action){ 52 var WIN; 53 WIN = window.open("about:blank", "pdf", "width=500,height=600,scrollbars=yes,resizable=yes,toolbar=no,location=no,directories=no,status=no"); 54 55 // 退避 56 tmpTarget = document.form1.target; 57 tmpMode = document.form1.mode.value; 58 tmpAction = document.form1.action; 59 60 document.form1.target = "pdf"; 61 document.form1.mode.value = 'pdf'; 62 document.form1.action = action; 63 document.form1.submit(); 64 WIN.focus(); 65 66 // 復元 67 document.form1.target = tmpTarget; 68 document.form1.mode.value = tmpMode; 69 document.form1.action = tmpAction; 70 } 50 71 //--> 51 72 </script> … … 129 150 <td bgcolor="#f2f1ec" width="110">帳票</td> 130 151 <td bgcolor="#ffffff"> 131 <input type="button" name="address_input" value="帳票の作成" on click="win02('pdf.php?order_id=<!--{$arrForm.order_id.value}-->','pdf_input','500','650'); return false;" />152 <input type="button" name="address_input" value="帳票の作成" onClick="fnOpenPdfSettingPage('pdf.php?order_id=<!--{$tpl_order_id}-->','pdf_input','500','650'); return false;" /> 132 153 </td> 133 154 </tr> -
branches/version-2_4/data/class/pages/admin/order/LC_Page_Admin_Order_Pdf.php
r18115 r18403 111 111 } 112 112 $objFpdf->createPdf(); 113 exit; 113 114 } 114 115 break;
Note: See TracChangeset
for help on using the changeset viewer.