Line 36... |
Line 36... |
36 |
<div class="wpsg-filter wpsg-order-tab wpsg-order-tab-0 container-fluid form-horizontal" style="display:<?php echo (($this->view['hasFilter'] === true)?'block':'none'); ?>;">
|
36 |
<div class="wpsg-filter wpsg-order-tab wpsg-order-tab-0 container-fluid form-horizontal" style="display:<?php echo (($this->view['hasFilter'] === true)?'block':'none'); ?>;">
|
37 |
<div class="row">
|
37 |
<div class="row">
|
38 |
<div class="col-lg-5">
|
38 |
<div class="col-lg-5">
|
39 |
<form method="post" id="filter_form" >
|
39 |
<form method="post" id="filter_form" >
|
40 |
|
40 |
|
- |
|
41 |
<?php echo wp_nonce_field('wpsg-order-search'); ?>
|
- |
|
42 |
|
41 |
<input id="wpsg_seite" type="hidden" name="seite" value="<?php echo @$this->view['arFilter']['page']; ?>" class="current-page" />
|
43 |
<input id="wpsg_seite" type="hidden" name="seite" value="<?php echo @$this->view['arFilter']['page']; ?>" class="current-page" />
|
42 |
<input id="wpsg_order" type="hidden" name="filter[order]" value="<?php echo @$this->view['arFilter']['order']; ?>" />
|
44 |
<input id="wpsg_order" type="hidden" name="filter[order]" value="<?php echo @$this->view['arFilter']['order']; ?>" />
|
43 |
<input id="wpsg_ascdesc" type="hidden" name="filter[ascdesc]" value="<?php echo @$this->view['arFilter']['ascdesc']; ?>" />
|
45 |
<input id="wpsg_ascdesc" type="hidden" name="filter[ascdesc]" value="<?php echo @$this->view['arFilter']['ascdesc']; ?>" />
|
44 |
|
46 |
|
45 |
<?php echo wpsg_drawForm_Input('filter[s]', __('Suchfeld', 'wpsg'), wpsg_getStr($this->view['arFilter']['s'])); ?>
|
47 |
<?php echo wpsg_drawForm_Input('filter[s]', __('Suchfeld', 'wpsg'), wpsg_getStr($this->view['arFilter']['s'])); ?>
|
Line 122... |
Line 124... |
122 |
<div class="container-fluid form-horizontal">
|
124 |
<div class="container-fluid form-horizontal">
|
123 |
<div class="row">
|
125 |
<div class="row">
|
124 |
<div class="col-lg-4">
|
126 |
<div class="col-lg-4">
|
125 |
|
127 |
|
126 |
<form method="POST" id="add_form" action="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Order&subaction=add&noheader=1">
|
128 |
<form method="POST" id="add_form" action="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Order&subaction=add&noheader=1">
|
127 |
|
129 |
|
128 |
<?php echo wp_nonce_field('order-index-add'); ?>
|
130 |
<?php echo wp_nonce_field('wpsg-order-add'); ?>
|
129 |
|
131 |
|
130 |
<br />
|
132 |
<br />
|
131 |
|
133 |
|
132 |
<?php echo wpsg_drawForm_Input('search_customer',__('Kunde (E-Mail oder Kundennummer)', 'wpsg'), @$_REQUEST['search_customer']); ?>
|
134 |
<?php echo wpsg_drawForm_Input('search_customer',__('Kunde (E-Mail oder Kundennummer)', 'wpsg'), @$_REQUEST['search_customer']); ?>
|
133 |
|
135 |
|
134 |
<br />
|
136 |
<br />
|
Line 248... |
Line 250... |
248 |
<td class="col_nr">
|
250 |
<td class="col_nr">
|
249 |
|
251 |
|
250 |
<?php echo $oOrder->getNr(); ?> <span class="wpsg_grey"><?php echo wpsg_formatTimestamp(strtotime($oOrder->cdate), false); ?></span><br />
|
252 |
<?php echo $oOrder->getNr(); ?> <span class="wpsg_grey"><?php echo wpsg_formatTimestamp(strtotime($oOrder->cdate), false); ?></span><br />
|
251 |
|
253 |
|
252 |
<div class="actions">
|
254 |
<div class="actions">
|
- |
|
255 |
<span class="view"><a title="<?php echo __("Diese Bestellung ansehen", "wpsg"); ?>" href="<?php
|
253 |
<span class="view"><a title="<?php echo __("Diese Bestellung ansehen", "wpsg"); ?>" href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Order&action=view&edit_id=<?php echo $oOrder->id; ?>"><?php echo __("Ansehen", "wpsg"); ?></a></span>
|
256 |
|
- |
|
257 |
echo wpsg_admin_url('Order', 'view', ['edit_id' => $oOrder->getId()]);
|
- |
|
258 |
|
- |
|
259 |
?>"><?php echo __("Ansehen", "wpsg"); ?></a></span>
|
254 |
|
|
260 |
|
|
- |
|
261 |
<span class="storno"><a onclick="return confirm('<?php echo __('Sind Sie sich sicher, dass Sie diese Bestellung stornieren möchten?', 'wpsg'); ?>');" title="<?php echo __("Diese Bestellung stornieren", "wpsg"); ?>" href="<?php
|
255 |
<span class="storno"><a onclick="return confirm('<?php echo __('Sind Sie sich sicher, dass Sie diese Bestellung stornieren möchten?', 'wpsg'); ?>');" title="<?php echo __("Diese Bestellung stornieren", "wpsg"); ?>" href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Order&action=storno&noheader=1&edit_id=<?php echo $oOrder->id; ?>"><?php echo __("Stornieren", "wpsg"); ?></a></span>
|
262 |
|
- |
|
263 |
echo wpsg_admin_url('Order', 'storno', ['edit_id' => $oOrder->getId()], ['noheader' => '1']);
|
- |
|
264 |
|
- |
|
265 |
?>"><?php echo __("Stornieren", "wpsg"); ?></a></span>
|
256 |
|
|
266 |
|
|
- |
|
267 |
<span class="delete"><a onclick="return confirm('<?php echo __('Sind Sie sich sicher, dass Sie diese Bestellung löschen möchten?', 'wpsg'); ?>');" title="<?php echo __('Diese Bestellung löschen', 'wpsg'); ?>" href="<?php
|
257 |
<span class="delete"><a onclick="return confirm('<?php echo __('Sind Sie sich sicher, dass Sie diese Bestellung löschen möchten?', 'wpsg'); ?>');" title="<?php echo __('Diese Bestellung löschen', 'wpsg'); ?>" href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Order&action=delete&noheader=1&edit_id=<?php echo $oOrder->id; ?>"><?php echo __('Löschen', 'wpsg'); ?></a></span>
|
268 |
|
- |
|
269 |
echo wpsg_admin_url('Order', 'delete', ['edit_id' => $oOrder->getId()], ['noheader' => '1']);
|
- |
|
270 |
|
- |
|
271 |
?>"><?php echo __('Löschen', 'wpsg'); ?></a></span>
|
258 |
</div>
|
272 |
</div>
|
259 |
|
273 |
|
260 |
<?php if (trim($oOrder->admincomment) != "") { ?>
|
274 |
<?php if (trim($oOrder->admincomment) != "") { ?>
|
261 |
<a title="<?php echo __("Kommentar (Admin): ", "wpsg").htmlspecialchars($oOrder->admincomment); ?>" onclick="return false;" class="glyphicon glyphicon-question-sign admincomment" href="#"></a>
|
275 |
<a title="<?php echo __("Kommentar (Admin): ", "wpsg").htmlspecialchars($oOrder->admincomment); ?>" onclick="return false;" class="glyphicon glyphicon-question-sign admincomment" href="#"></a>
|
262 |
<?php } ?>
|
276 |
<?php } ?>
|