Line 28... |
Line 28... |
28 |
<?php echo $oInvoice->getDate(true); ?>
|
28 |
<?php echo $oInvoice->getDate(true); ?>
|
29 |
</div>
|
29 |
</div>
|
30 |
<div>
|
30 |
<div>
|
31 |
<?php echo $oInvoice->getNr(true); ?>
|
31 |
<?php echo $oInvoice->getNr(true); ?>
|
32 |
</div>
|
32 |
</div>
|
- |
|
33 |
<div style="text-align:right; white-space:nowrap;">
|
- |
|
34 |
|
- |
|
35 |
<a target="_blank" href="<?php
|
- |
|
36 |
|
33 |
<div style="text-align:right;">
|
37 |
echo wp_nonce_url(WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Order&mod=wpsg_mod_rechnungen&noheader=1&action=ajax&edit_id='.$_REQUEST['edit_id'].'&r_id='.$r['id'].'&do=rebuildadmin', 'wpsg-mod_invoice-order_ajax-rebuildadmin-'.$_REQUEST['edit_id']);
|
- |
|
38 |
|
- |
|
39 |
?>" style="color:red;"><?php echo __('Neu erstellen', 'wpsg'); ?></a>
|
34 |
|
40 |
|
35 |
<a target="_blank" onclick="if (!confirm('<?php echo __('Sind Sie sicher, dass Sie eine Kopie dieser Rechnung/Rechnungskorrektur erneut an den Kunden senden möchten?', 'wpsg'); ?>')) return false;" href="<?php
|
41 |
<a target="_blank" onclick="if (!confirm('<?php echo __('Sind Sie sicher, dass Sie eine Kopie dieser Rechnung/Rechnungskorrektur erneut an den Kunden senden möchten?', 'wpsg'); ?>')) return false;" href="<?php
|
36 |
|
42 |
|
37 |
if ($r['o_id'] == '0') {
|
43 |
if ($r['o_id'] == '0') {
|
38 |
// Multirechnung
|
44 |
// Multirechnung
|
39 |
$r_o_ids = array_map('intval', explode(',', $r['o_ids']));
|
45 |
$r_o_ids = array_map('intval', explode(',', $r['o_ids']));
|
40 |
echo wp_nonce_url(WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Order&mod=wpsg_mod_rechnungen&noheader=1&action=ajax&edit_id='.$r_o_ids[0].'&r_id='.$r['id'].'&do=copy', 'wpsg-mod_invoice-order_ajax-copy-'.$r_o_ids[0]);
|
46 |
echo wp_nonce_url(WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Order&mod=wpsg_mod_rechnungen&noheader=1&action=ajax&edit_id='.$_REQUEST['edit_id'].'&r_id='.$r['id'].'&do=copy', 'wpsg-mod_invoice-order_ajax-copy-'.$_REQUEST['edit_id']);
|
41 |
} else {
|
47 |
} else {
|
42 |
// normale Rechnung
|
48 |
// normale Rechnung
|
43 |
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']);
|
49 |
echo wp_nonce_url(WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Order&mod=wpsg_mod_rechnungen&noheader=1&action=ajax&edit_id='.$_REQUEST['edit_id'].'&r_id='.$r['id'].'&do=copy', 'wpsg-mod_invoice-order_ajax-copy-'.$_REQUEST['edit_id']);
|
44 |
}
|
50 |
}
|
45 |
|
51 |
|
46 |
?>"><?php echo ' '.__("Kopie senden", "wpsg"); ?></a>
|
52 |
?>"><?php echo ' '.__("Kopie senden", "wpsg"); ?></a>
|
47 |
|
53 |
|
48 |
</div>
|
54 |
</div>
|
Line 57... |
Line 63... |
57 |
|
63 |
|
58 |
</div>
|
64 |
</div>
|
59 |
|
65 |
|
60 |
<style>
|
66 |
<style>
|
61 |
|
67 |
|
62 |
#wpsg_mod_rechnungen_order_view .grid { display:grid; width:100%; grid-template-columns:150px 1fr 100px; row-gap:0.25rem; }
|
68 |
#wpsg_mod_rechnungen_order_view .grid { display:grid; width:100%; grid-template-columns:150px 1fr 250px; row-gap:0.25rem; column-gap:1rem; }
|
63 |
|
69 |
|
64 |
</style>
|
70 |
</style>
|
65 |
|
71 |
|