Line 115... |
Line 115... |
115 |
echo wp_nonce_url(WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Order&mod=wpsg_mod_rechnungen&noheader=1&action=ajax&edit_id='.$this->view['data']['id'].'&r_id='.$r['id'].'&do=copy', 'wpsg-mod_invoice-order_ajax-copy-'.$this->view['data']['id']);
|
115 |
echo wp_nonce_url(WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Order&mod=wpsg_mod_rechnungen&noheader=1&action=ajax&edit_id='.$this->view['data']['id'].'&r_id='.$r['id'].'&do=copy', 'wpsg-mod_invoice-order_ajax-copy-'.$this->view['data']['id']);
|
116 |
|
116 |
|
117 |
?>"><?php echo ' '.__("Kopie senden", "wpsg"); ?></a>
|
117 |
?>"><?php echo ' '.__("Kopie senden", "wpsg"); ?></a>
|
118 |
<a target="_blank" href="<?php
|
118 |
<a target="_blank" href="<?php
|
119 |
|
119 |
|
120 |
echo wp_nonce_url(WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Order&action=ajax&noheader=1&mod=wpsg_mod_rechnungen&do=getRechnung&edit_id='.$this->view['data']['id'].'&r_id='.$r['id'], 'wpsg-mod_invoice-order_ajax-getRechnung-'.$this->view['data']['id']);
|
120 |
echo wp_nonce_url(WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Order&action=ajax&noheader=1&mod=wpsg_mod_rechnungen&do=getRechnung&edit_id='.$this->view['data']['id'].'&r_id='.$r['id'], 'wpsg-mod_invoice-order_ajax-getRechnung-'.$r['id']);
|
121 |
|
121 |
|
122 |
?>"><?php echo __("Ansehen", "wpsg"); ?></a>
|
122 |
?>"><?php echo __("Ansehen", "wpsg"); ?></a>
|
123 |
|
123 |
|
124 |
</td>
|
124 |
</td>
|
125 |
</tr>
|
125 |
</tr>
|
Line 164... |
Line 164... |
164 |
|
164 |
|
165 |
//jQuery("#storno_form").attr("action", "<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Order&noheader=1&action=ajax&mod=wpsg_mod_rechnungen&edit_id=<?php echo $this->view['data']['id']; ?>&do=storno");
|
165 |
//jQuery("#storno_form").attr("action", "<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Order&noheader=1&action=ajax&mod=wpsg_mod_rechnungen&edit_id=<?php echo $this->view['data']['id']; ?>&do=storno");
|
166 |
jQuery("#storno_form").attr("target", "_blank");
|
166 |
jQuery("#storno_form").attr("target", "_blank");
|
167 |
|
167 |
|
168 |
window.setTimeout(function() {
|
168 |
window.setTimeout(function() {
|
- |
|
169 |
location.href = "<?php
|
- |
|
170 |
|
169 |
location.href = "<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Order&action=view&edit_id=<?php echo $this->view['data']['id']; ?>";
|
171 |
echo wpsg_admin_url('Order', 'view', ['edit_id' => $this->view['data']['id']]);
|
- |
|
172 |
|
- |
|
173 |
?>";
|
170 |
}, 1500);
|
174 |
}, 1500);
|
171 |
|
175 |
|
172 |
}
|
176 |
}
|
173 |
else
|
177 |
else
|
174 |
{
|
178 |
{
|
Line 272... |
Line 276... |
272 |
jQuery('#wpsg_rechnungen_fusstext').val(jQuery("#wpsg_rechnungen_select").val());
|
276 |
jQuery('#wpsg_rechnungen_fusstext').val(jQuery("#wpsg_rechnungen_select").val());
|
273 |
});
|
277 |
});
|
274 |
|
278 |
|
275 |
</script>
|
279 |
</script>
|
276 |
|
280 |
|
- |
|
281 |
<input class="button" style="float:right;" onclick="window.setTimeout(function() { location.href = '<?php
|
277 |
<input class="button" style="float:right;" onclick="window.setTimeout(function() { location.href = '<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Order&action=view&edit_id=<?php echo $this->view['data']['id']; ?>'; }, 1000);" name="wpsg_rechnungen_write" type="submit" value="<?php echo __("Rechnung schreiben", "wpsg"); ?>" />
|
282 |
|
- |
|
283 |
echo wpsg_admin_url('Order', 'view', ['edit_id' => $this->view['data']['id']]);
|
- |
|
284 |
|
- |
|
285 |
?>'; }, 1000);" name="wpsg_rechnungen_write" type="submit" value="<?php echo __("Rechnung schreiben", "wpsg"); ?>" />
|
278 |
<input class="button" style="float:right; margin-right:10px;" name="wpsg_rechnungen_preview" type="submit" value="<?php echo __("Vorschau", "wpsg"); ?>" />
|
286 |
<input class="button" style="float:right; margin-right:10px;" name="wpsg_rechnungen_preview" type="submit" value="<?php echo __("Vorschau", "wpsg"); ?>" />
|
279 |
|
287 |
|
280 |
<div style="clear:both; width:100%; height:5px;"></div>
|
288 |
<div style="clear:both; width:100%; height:5px;"></div>
|
281 |
|
289 |
|
282 |
</form>
|
290 |
</form>
|