5720 |
daniel |
1 |
<?php
|
|
|
2 |
|
|
|
3 |
/**
|
|
|
4 |
* User: Daschmi (daschmi@dsachmi.de)
|
|
|
5 |
* Date: 06.08.2016
|
|
|
6 |
* Time: 13:45
|
|
|
7 |
*/
|
7173 |
daniel |
8 |
|
5720 |
daniel |
9 |
?>
|
5922 |
hartmut |
10 |
<div id="wpsg_produkte_table">
|
5720 |
daniel |
11 |
<?php echo wpsg_drawForm_AdminboxStart(__('Bestelldaten', 'wpsg')); ?>
|
7173 |
daniel |
12 |
<div id="wpsg_product_table_wrap">
|
|
|
13 |
<?php $this->render(WPSG_PATH_VIEW.'order/product_table.phtml'); ?>
|
|
|
14 |
</div>
|
6350 |
hartmut |
15 |
|
5922 |
hartmut |
16 |
<script type="text/javascript">/* <![CDATA[ */
|
|
|
17 |
|
|
|
18 |
<?php if ($this->hasMod('wpsg_mod_gutschein')) { ?>
|
|
|
19 |
<?php if ((array_key_exists('gs', $this->view['basket'])) && ($this->view['basket']['gs']['value'] > 0)) { ?>
|
|
|
20 |
|
6799 |
hartmut |
21 |
jQuery('#gsname_<?php echo $gs_id; ?>').wpsg_editable('<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Order&subaction=voucherData&do=editname&noheader=1', {
|
6350 |
hartmut |
22 |
submitdata: {
|
5922 |
hartmut |
23 |
field: 'code',
|
|
|
24 |
gs_id: '<?php echo $gs_id; ?>',
|
|
|
25 |
edit_id: '<?php echo $o_id; ?>'
|
6350 |
hartmut |
26 |
},
|
5922 |
hartmut |
27 |
submit : '<?php echo __('Speichern', 'wpsg'); ?>',
|
|
|
28 |
placeholder: '<?php echo __('Zum Bearbeiten anklicken ...', 'wpsg'); ?>',
|
|
|
29 |
indicator: '<?php echo __('Speicher ...', 'wpsg'); ?>',
|
|
|
30 |
tooltip: '<?php echo __('Zum Bearbeiten anklicken ...', 'wpsg'); ?>',
|
|
|
31 |
callback: function(data, config) {
|
|
|
32 |
jQuery('#wpsg_produkte_table').replaceWith(data);
|
|
|
33 |
}
|
|
|
34 |
});
|
|
|
35 |
|
6799 |
hartmut |
36 |
jQuery('#gsvalue_<?php echo $gs_id; ?>').wpsg_editable('<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Order&subaction=voucherData&do=editvalue&noheader=1', {
|
6350 |
hartmut |
37 |
submitdata: {
|
5922 |
hartmut |
38 |
field: 'value',
|
|
|
39 |
gs_id: '<?php echo $gs_id; ?>',
|
|
|
40 |
edit_id: '<?php echo $o_id; ?>',
|
|
|
41 |
noMwSt: '<?php echo $this->view['basket']['noMwSt']; ?>',
|
|
|
42 |
mwst: '<?php reset($this->view['basket']['mwst']); echo key($this->view['basket']['mwst']); ?>',
|
|
|
43 |
price_frontend: '<?php echo $this->view['basket']['price_frontend']; ?>'
|
6350 |
hartmut |
44 |
},
|
5922 |
hartmut |
45 |
submit : '<?php echo __('Speichern', 'wpsg'); ?>',
|
|
|
46 |
placeholder: '<?php echo __('Zum Bearbeiten anklicken ...', 'wpsg'); ?>',
|
|
|
47 |
indicator: '<?php echo __('Speicher ...', 'wpsg'); ?>',
|
|
|
48 |
tooltip: '<?php echo __('Zum Bearbeiten anklicken ...', 'wpsg'); ?>',
|
|
|
49 |
callback: function(data, config) {
|
|
|
50 |
jQuery('#wpsg_produkte_table').replaceWith(data);
|
6846 |
hartmut |
51 |
wpsg_be_act_orderdata();
|
5922 |
hartmut |
52 |
}
|
|
|
53 |
});
|
|
|
54 |
|
|
|
55 |
<?php } ?>
|
|
|
56 |
<?php } ?>
|
|
|
57 |
|
|
|
58 |
<?php if ($this->hasMod('wpsg_mod_discount')) { ?>
|
|
|
59 |
<?php if (isset($this->view['basket']['sum']['preis_rabatt']) && $this->view['basket']['sum']['preis_rabatt'] > 0) { ?>
|
|
|
60 |
|
6799 |
hartmut |
61 |
jQuery('#discountvalue_<?php echo $o_id; ?>').wpsg_editable('<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Order&subaction=discountData&do=editvalue&noheader=1', {
|
6350 |
hartmut |
62 |
submitdata: {
|
5922 |
hartmut |
63 |
field: 'value',
|
|
|
64 |
edit_id: '<?php echo $o_id; ?>',
|
|
|
65 |
noMwSt: '<?php echo $this->view['basket']['noMwSt']; ?>',
|
|
|
66 |
mwst: '<?php reset($this->view['basket']['mwst']); echo key($this->view['basket']['mwst']); ?>',
|
|
|
67 |
price_frontend: '<?php echo $this->view['basket']['price_frontend']; ?>'
|
6350 |
hartmut |
68 |
},
|
5922 |
hartmut |
69 |
submit : '<?php echo __('Speichern', 'wpsg'); ?>',
|
|
|
70 |
placeholder: '<?php echo __('Zum Bearbeiten anklicken ...', 'wpsg'); ?>',
|
|
|
71 |
indicator: '<?php echo __('Speicher ...', 'wpsg'); ?>',
|
|
|
72 |
tooltip: '<?php echo __('Zum Bearbeiten anklicken ...', 'wpsg'); ?>',
|
|
|
73 |
callback: function(data, config) {
|
|
|
74 |
jQuery('#wpsg_produkte_table').replaceWith(data);
|
6846 |
hartmut |
75 |
wpsg_be_act_orderdata();
|
5922 |
hartmut |
76 |
}
|
|
|
77 |
});
|
|
|
78 |
|
|
|
79 |
<?php } ?>
|
|
|
80 |
<?php } ?>
|
6350 |
hartmut |
81 |
|
5922 |
hartmut |
82 |
/**
|
|
|
83 |
* Wird aufgerufen wenn ein Gutschein gelöscht werden soll
|
|
|
84 |
*/
|
|
|
85 |
function wpsg_removeVoucher(gs_id, o_id)
|
|
|
86 |
{
|
|
|
87 |
|
|
|
88 |
if (!confirm('<?php echo __('Sind Sie sich sicher, dass sie diesen Gutschein löschen möchten?', 'wpsg'); ?>')) return false;
|
|
|
89 |
|
|
|
90 |
jQuery('#wpsg_produkte_table').html('<img src="<?php echo WPSG_URL; ?>views/gfx/ajax-loader.gif" alt="<?php echo __('Bitte warten ...', 'wpsg'); ?>" />');
|
|
|
91 |
|
|
|
92 |
jQuery.ajax( {
|
6799 |
hartmut |
93 |
url: '<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Order&subaction=voucherData&do=remove&gs_id=' + gs_id + '&edit_id=' + o_id +'&noheader=1',
|
5922 |
hartmut |
94 |
success: function(data) {
|
|
|
95 |
jQuery('#wpsg_produkte_table').replaceWith(data);
|
|
|
96 |
jQuery('#LinkGutscheinNeu').show();
|
6846 |
hartmut |
97 |
wpsg_be_act_orderdata();
|
5922 |
hartmut |
98 |
}
|
|
|
99 |
} );
|
6350 |
hartmut |
100 |
|
5922 |
hartmut |
101 |
return false;
|
|
|
102 |
}
|
|
|
103 |
|
|
|
104 |
/**
|
|
|
105 |
* Wird aufgerufen wenn ein Rabatt gelöscht werden soll
|
|
|
106 |
*/
|
|
|
107 |
function wpsg_removeDiscount(o_id)
|
|
|
108 |
{
|
|
|
109 |
|
|
|
110 |
if (!confirm('<?php echo __('Sind Sie sich sicher, dass sie diesen Rabatt löschen möchten?', 'wpsg'); ?>')) return false;
|
|
|
111 |
|
|
|
112 |
jQuery('#wpsg_produkte_table').html('<img src="<?php echo WPSG_URL; ?>views/gfx/ajax-loader.gif" alt="<?php echo __('Bitte warten ...', 'wpsg'); ?>" />');
|
6350 |
hartmut |
113 |
|
5922 |
hartmut |
114 |
jQuery.ajax( {
|
6799 |
hartmut |
115 |
url: '<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Order&subaction=discountData&do=remove&edit_id=' + o_id +'&noheader=1',
|
5922 |
hartmut |
116 |
success: function(data) {
|
|
|
117 |
jQuery('#wpsg_produkte_table').replaceWith(data);
|
|
|
118 |
jQuery('#LinkRabattNeu').show();
|
6846 |
hartmut |
119 |
wpsg_be_act_orderdata();
|
5922 |
hartmut |
120 |
}
|
|
|
121 |
} );
|
6350 |
hartmut |
122 |
|
5922 |
hartmut |
123 |
return false;
|
|
|
124 |
}
|
|
|
125 |
|
6846 |
hartmut |
126 |
function wpsg_be_act_orderdata() {
|
|
|
127 |
|
|
|
128 |
var o_id = 0;
|
|
|
129 |
//alert('wpsg_be_act_orderdata');
|
|
|
130 |
jQuery.ajax( {
|
|
|
131 |
url: '<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Order&subaction=orderData&do=actual&edit_id=' + o_id +'&noheader=1',
|
|
|
132 |
success: function(data) {
|
|
|
133 |
data = JSON.parse(data);
|
|
|
134 |
jQuery('#wpsg_be_orderamount').html(data.preis);
|
|
|
135 |
odata = data.vname + ' ' + data.name + ' / ' + data.preis;
|
|
|
136 |
jQuery('#wpsg_be_orderdata').html(odata);
|
|
|
137 |
|
|
|
138 |
}
|
|
|
139 |
} );
|
|
|
140 |
|
|
|
141 |
|
|
|
142 |
return false;
|
|
|
143 |
|
|
|
144 |
}
|
|
|
145 |
|
5922 |
hartmut |
146 |
jQuery(document).ready(function() {
|
7173 |
daniel |
147 |
|
5922 |
hartmut |
148 |
|
7173 |
daniel |
149 |
//wpsg_view_orderdata_show();
|
5922 |
hartmut |
150 |
|
|
|
151 |
} );
|
|
|
152 |
|
6066 |
hartmut |
153 |
function wpsg_view_orderdata_show() {
|
7173 |
daniel |
154 |
|
6066 |
hartmut |
155 |
jQuery('#LinkGutscheinNeu').show();
|
|
|
156 |
jQuery('#LinkRabattNeu').show();
|
|
|
157 |
jQuery('#LinkProduktNeu').show();
|
|
|
158 |
jQuery('#LinkSendMail').show();
|
6350 |
hartmut |
159 |
|
7173 |
daniel |
160 |
//if (gs_id > 0) { jQuery('#LinkGutscheinNeu').hide(); }
|
|
|
161 |
//if (prval != 0) { jQuery('#LinkRabattNeu').hide(); }
|
6066 |
hartmut |
162 |
}
|
5922 |
hartmut |
163 |
|
6066 |
hartmut |
164 |
function wpsg_view_orderdata_hide() {
|
|
|
165 |
jQuery('#LinkGutscheinNeu').hide();
|
|
|
166 |
jQuery('#LinkRabattNeu').hide();
|
|
|
167 |
jQuery('#LinkProduktNeu').hide();
|
|
|
168 |
jQuery('#LinkSendMail').hide();
|
|
|
169 |
}
|
6350 |
hartmut |
170 |
|
5922 |
hartmut |
171 |
var Modul2 = {
|
|
|
172 |
eigenschaft : "wert",
|
|
|
173 |
methode : function () {
|
|
|
174 |
alert("Modul-Eigenschaft (über window.Modul): " + Modul2.eigenschaft);
|
|
|
175 |
// Alternativ:
|
|
|
176 |
alert("Modul-Eigenschaft (über this): " + this.eigenschaft);
|
|
|
177 |
}
|
|
|
178 |
};
|
|
|
179 |
//Modul2.methode();
|
|
|
180 |
|
6350 |
hartmut |
181 |
|
5934 |
hartmut |
182 |
var WPSG_BE_Pay_Ship = {
|
7173 |
daniel |
183 |
|
|
|
184 |
changeShippingPayment: function (id, oid) {
|
5922 |
hartmut |
185 |
|
7173 |
daniel |
186 |
jQuery('#wpsg_shipping_dialog .modal-body').html('<img src="<?php echo WPSG_URL; ?>views/gfx/ajax-loader.gif" alt="<?php echo __('Bitte warten ...', 'wpsg'); ?>" />');
|
|
|
187 |
jQuery('#wpsg_shipping_dialog').modal( { } ).modal('show');
|
|
|
188 |
|
|
|
189 |
jQuery.ajax( {
|
|
|
190 |
url: '<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Order&action=view&subaction=editPayShipping&edit_id=<?php echo $_REQUEST['edit_id']; ?>&noheader=1',
|
|
|
191 |
success: function(data) {
|
5922 |
hartmut |
192 |
|
7173 |
daniel |
193 |
jQuery('#wpsg_shipping_dialog .modal-body').html(data);
|
6350 |
hartmut |
194 |
|
7173 |
daniel |
195 |
}
|
|
|
196 |
} );
|
6350 |
hartmut |
197 |
|
7173 |
daniel |
198 |
return false;
|
|
|
199 |
|
|
|
200 |
}, // function changeShipping(id, oid)
|
6350 |
hartmut |
201 |
|
7173 |
daniel |
202 |
/**
|
|
|
203 |
* Ändern der Versanddaten im Backend
|
|
|
204 |
*/
|
|
|
205 |
updateShippingPayment: function() {
|
|
|
206 |
|
|
|
207 |
var data = {
|
|
|
208 |
submit: '1',
|
|
|
209 |
shipping_key: jQuery('#edit_shipping_type').val(),
|
|
|
210 |
shipping_price: jQuery('#edit_shipping_price').val(),
|
|
|
211 |
payment_key: jQuery('#edit_payment_type').val(),
|
|
|
212 |
payment_price: jQuery('#edit_payment_price').val()
|
|
|
213 |
};
|
|
|
214 |
|
|
|
215 |
jQuery('#wpsg_shipping_dialog').modal('hide');
|
|
|
216 |
|
|
|
217 |
jQuery('#wpsg_product_table_wrap').html('<img src="<?php echo WPSG_URL; ?>views/gfx/ajax-loader.gif" alt="<?php echo __('Bitte warten ...', 'wpsg'); ?>" />');
|
|
|
218 |
|
|
|
219 |
jQuery.ajax( {
|
|
|
220 |
url: '<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Order&action=updateOrder&subaction=editPayShipping&edit_id=<?php echo $_REQUEST['edit_id']; ?>&noheader=1',
|
|
|
221 |
data: data,
|
|
|
222 |
success: function(data) {
|
|
|
223 |
|
|
|
224 |
jQuery('#wpsg_product_table_wrap').html(data.product_table);
|
|
|
225 |
|
|
|
226 |
}
|
|
|
227 |
} );
|
|
|
228 |
|
|
|
229 |
return false;
|
6350 |
hartmut |
230 |
|
7173 |
daniel |
231 |
} // function dialogShippingOK()
|
|
|
232 |
|
5934 |
hartmut |
233 |
}; // WPSG_BE_Pay_Ship
|
5922 |
hartmut |
234 |
|
5934 |
hartmut |
235 |
var WPSG_BE_Product = {
|
5922 |
hartmut |
236 |
|
7173 |
daniel |
237 |
addProduct: function() {
|
|
|
238 |
|
|
|
239 |
jQuery('#wpsg_product_dialog .modal-body').html('<img src="<?php echo WPSG_URL; ?>views/gfx/ajax-loader.gif" alt="<?php echo __('Bitte warten ...', 'wpsg'); ?>" />');
|
|
|
240 |
jQuery('#wpsg_product_dialog').modal( { } ).modal('show');
|
|
|
241 |
jQuery('#wpsg_product_dialog .btn-primary').prop('disabled', true);
|
|
|
242 |
|
|
|
243 |
jQuery.ajax( {
|
|
|
244 |
url: '<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Order&action=view&subaction=addProduct&edit_id=<?php echo $_REQUEST['edit_id']; ?>&noheader=1',
|
|
|
245 |
success: function(data) {
|
|
|
246 |
|
|
|
247 |
jQuery('#wpsg_product_dialog .modal-body').html(data);
|
|
|
248 |
|
|
|
249 |
}
|
|
|
250 |
} );
|
|
|
251 |
|
|
|
252 |
return false;
|
|
|
253 |
|
|
|
254 |
},
|
|
|
255 |
|
|
|
256 |
remvoeProduct: function(order_product_id) {
|
5934 |
hartmut |
257 |
|
7173 |
daniel |
258 |
jQuery('#wpsg_product_table_wrap').html('<img src="<?php echo WPSG_URL; ?>views/gfx/ajax-loader.gif" alt="<?php echo __('Bitte warten ...', 'wpsg'); ?>" />');
|
|
|
259 |
|
|
|
260 |
jQuery.ajax( {
|
|
|
261 |
url: '<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Order&action=view&subaction=removeProduct&noheader=1&edit_id=<?php echo $_REQUEST['edit_id']; ?>',
|
|
|
262 |
data: {
|
|
|
263 |
order_product_id: order_product_id
|
|
|
264 |
},
|
|
|
265 |
success: function(data) {
|
5934 |
hartmut |
266 |
|
7173 |
daniel |
267 |
jQuery('#wpsg_product_table_wrap').html(data.product_table);
|
6350 |
hartmut |
268 |
|
7173 |
daniel |
269 |
}
|
|
|
270 |
} );
|
|
|
271 |
|
|
|
272 |
return false;
|
|
|
273 |
|
|
|
274 |
},
|
|
|
275 |
|
|
|
276 |
editProduct: function(order_product_id) {
|
6350 |
hartmut |
277 |
|
7173 |
daniel |
278 |
jQuery('#wpsg_product_dialog .modal-body').html('<img src="<?php echo WPSG_URL; ?>views/gfx/ajax-loader.gif" alt="<?php echo __('Bitte warten ...', 'wpsg'); ?>" />');
|
|
|
279 |
jQuery('#wpsg_product_dialog').modal( { } ).modal('show');
|
|
|
280 |
jQuery('#wpsg_product_dialog .btn-primary').prop('disabled', true);
|
6350 |
hartmut |
281 |
|
7173 |
daniel |
282 |
jQuery.ajax( {
|
|
|
283 |
url: '<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Order&action=view&subaction=addProduct&edit_id=<?php echo $_REQUEST['edit_id']; ?>&noheader=1',
|
|
|
284 |
data: {
|
|
|
285 |
order_product_id: order_product_id
|
|
|
286 |
},
|
|
|
287 |
success: function(data) {
|
6350 |
hartmut |
288 |
|
7173 |
daniel |
289 |
jQuery('#wpsg_product_dialog .modal-body').html(data);
|
5934 |
hartmut |
290 |
|
7173 |
daniel |
291 |
}
|
|
|
292 |
} );
|
6350 |
hartmut |
293 |
|
7173 |
daniel |
294 |
return false;
|
|
|
295 |
|
|
|
296 |
},
|
6350 |
hartmut |
297 |
|
7173 |
daniel |
298 |
saveProduct: function() {
|
|
|
299 |
|
|
|
300 |
jQuery('#wpsg_product_dialog').modal('hide');
|
|
|
301 |
jQuery('#wpsg_product_table_wrap').html('<img src="<?php echo WPSG_URL; ?>views/gfx/ajax-loader.gif" alt="<?php echo __('Bitte warten ...', 'wpsg'); ?>" />');
|
6350 |
hartmut |
302 |
|
7173 |
daniel |
303 |
jQuery.ajax( {
|
|
|
304 |
url: '<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Order&action=view&subaction=addProduct&do=submit&edit_id=<?php echo $_REQUEST['edit_id']; ?>&noheader=1',
|
|
|
305 |
data: jQuery('#wpsg_product_add_form').serialize(),
|
|
|
306 |
success: function(data) {
|
6350 |
hartmut |
307 |
|
7173 |
daniel |
308 |
jQuery('#wpsg_product_table_wrap').html(data.product_table);
|
6350 |
hartmut |
309 |
|
7173 |
daniel |
310 |
}
|
|
|
311 |
} );
|
5934 |
hartmut |
312 |
|
7173 |
daniel |
313 |
return false;
|
6350 |
hartmut |
314 |
|
7173 |
daniel |
315 |
}
|
|
|
316 |
|
|
|
317 |
}
|
|
|
318 |
|
|
|
319 |
var WPSG_BE_Discount = {
|
|
|
320 |
|
|
|
321 |
editDiscount: function() {
|
6350 |
hartmut |
322 |
|
7173 |
daniel |
323 |
jQuery('#wpsg_discount_dialog .modal-body').html('<img src="<?php echo WPSG_URL; ?>views/gfx/ajax-loader.gif" alt="<?php echo __('Bitte warten ...', 'wpsg'); ?>" />');
|
|
|
324 |
jQuery('#wpsg_discount_dialog').modal( { } ).modal('show');
|
6350 |
hartmut |
325 |
|
7173 |
daniel |
326 |
jQuery.ajax( {
|
|
|
327 |
url: '<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Order&action=view&subaction=editDiscount&edit_id=<?php echo $_REQUEST['edit_id']; ?>&noheader=1',
|
|
|
328 |
success: function(data) {
|
6350 |
hartmut |
329 |
|
7173 |
daniel |
330 |
jQuery('#wpsg_discount_dialog .modal-body').html(data);
|
6350 |
hartmut |
331 |
|
7173 |
daniel |
332 |
}
|
|
|
333 |
} );
|
6350 |
hartmut |
334 |
|
7173 |
daniel |
335 |
return false;
|
|
|
336 |
|
|
|
337 |
},
|
|
|
338 |
|
|
|
339 |
saveDiscount: function() {
|
6350 |
hartmut |
340 |
|
7173 |
daniel |
341 |
jQuery('#wpsg_discount_dialog').modal('hide');
|
|
|
342 |
jQuery('#wpsg_product_table_wrap').html('<img src="<?php echo WPSG_URL; ?>views/gfx/ajax-loader.gif" alt="<?php echo __('Bitte warten ...', 'wpsg'); ?>" />');
|
6350 |
hartmut |
343 |
|
7173 |
daniel |
344 |
jQuery.ajax( {
|
|
|
345 |
url: '<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Order&action=view&subaction=editDiscount&do=submit&edit_id=<?php echo $_REQUEST['edit_id']; ?>&noheader=1',
|
|
|
346 |
data: jQuery('#wpsg_be_discount_form').serialize(),
|
|
|
347 |
success: function(data) {
|
6350 |
hartmut |
348 |
|
7173 |
daniel |
349 |
jQuery('#wpsg_product_table_wrap').html(data.product_table);
|
6350 |
hartmut |
350 |
|
7173 |
daniel |
351 |
}
|
|
|
352 |
} );
|
5922 |
hartmut |
353 |
|
7173 |
daniel |
354 |
return false;
|
|
|
355 |
|
|
|
356 |
}
|
|
|
357 |
|
|
|
358 |
}
|
|
|
359 |
|
6350 |
hartmut |
360 |
/* ]]> */</script>
|
|
|
361 |
|
5922 |
hartmut |
362 |
</div>
|
|
|
363 |
|
7173 |
daniel |
364 |
<!-- Modaldialog für Rabatt -->
|
|
|
365 |
<div class="modal fade" id="wpsg_discount_dialog" tabindex="-1" role="dialog">
|
|
|
366 |
<div class="modal-dialog" role="document">
|
|
|
367 |
<div class="modal-content">
|
|
|
368 |
<div class="modal-header">
|
|
|
369 |
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
|
|
370 |
<h4 class="modal-title" id="myModalLabel"><?php echo __('Rabatt hinzufügen/bearbeiten', 'wpsg'); ?></h4>
|
|
|
371 |
</div>
|
|
|
372 |
<div class="modal-body"></div>
|
|
|
373 |
<div class="modal-footer">
|
|
|
374 |
<button type="button" class="btn btn-default" data-dismiss="modal">Abbrechen</button>
|
|
|
375 |
<button type="button" class="btn btn-primary" data-dismiss="modal" onclick="return WPSG_BE_Discount.saveDiscount();">OK</button>
|
|
|
376 |
</div>
|
|
|
377 |
</div>
|
|
|
378 |
</div>
|
|
|
379 |
</div>
|
5934 |
hartmut |
380 |
|
|
|
381 |
<!-- Modaldialog für Produkte -->
|
|
|
382 |
<div class="modal fade" id="wpsg_product_dialog" tabindex="-1" role="dialog">
|
|
|
383 |
<div class="modal-dialog" role="document">
|
|
|
384 |
<div class="modal-content">
|
|
|
385 |
<div class="modal-header">
|
|
|
386 |
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
7173 |
daniel |
387 |
<h4 class="modal-title" id="myModalLabel"><?php echo __('Produkt hinzufügen/bearbeiten', 'wpsg'); ?></h4>
|
5934 |
hartmut |
388 |
</div>
|
7173 |
daniel |
389 |
<div class="modal-body"></div>
|
5934 |
hartmut |
390 |
<div class="modal-footer">
|
|
|
391 |
<button type="button" class="btn btn-default" data-dismiss="modal">Abbrechen</button>
|
7173 |
daniel |
392 |
<button type="button" class="btn btn-primary" data-dismiss="modal" onclick="return WPSG_BE_Product.saveProduct();">OK</button>
|
5934 |
hartmut |
393 |
</div>
|
|
|
394 |
</div>
|
|
|
395 |
</div>
|
|
|
396 |
</div>
|
|
|
397 |
|
7173 |
daniel |
398 |
<!-- Modaldialog für Versandart / Zahlungsart -->
|
5934 |
hartmut |
399 |
<div class="modal fade" id="wpsg_shipping_dialog" tabindex="-1" role="dialog">
|
|
|
400 |
<div class="modal-dialog" role="document">
|
|
|
401 |
<div class="modal-content">
|
|
|
402 |
<div class="modal-header">
|
|
|
403 |
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
|
|
404 |
<h4 class="modal-title" id="myModalLabel"><?php echo __('Versandart', 'wpsg'); ?></h4>
|
|
|
405 |
</div>
|
7173 |
daniel |
406 |
<div class="modal-body"></div>
|
5934 |
hartmut |
407 |
<div class="modal-footer">
|
|
|
408 |
<button type="button" class="btn btn-default" data-dismiss="modal">Abbrechen</button>
|
7173 |
daniel |
409 |
<button type="button" class="btn btn-primary" data-dismiss="modal" onclick="return WPSG_BE_Pay_Ship.updateShippingPayment();">OK</button>
|
5934 |
hartmut |
410 |
</div>
|
|
|
411 |
</div>
|
|
|
412 |
</div>
|
|
|
413 |
</div>
|
|
|
414 |
|