Subversion Repositories wpShopGermany4

Rev

Rev 7605 | Rev 7812 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7605 Rev 7787
Line 81... Line 81...
81
                                </select>
81
                                </select>
82
                            </div>
82
                            </div>
83
                        </div>
83
                        </div>
84
                        <?php echo wpsg_drawForm_TextEnd(__('Bestelldatum (Monat/Jahr)', 'wpsg'), array('noP' => true)); ?>
84
                        <?php echo wpsg_drawForm_TextEnd(__('Bestelldatum (Monat/Jahr)', 'wpsg'), array('noP' => true)); ?>
85
 
85
 
-
 
86
						<?php if ($this->hasMod('wpsg_mod_rechnungen')) { ?>
86
                        <?php echo wpsg_drawForm_TextStart(); ?>
87
							<?php echo wpsg_drawForm_TextStart(); ?>
87
                        <div class="row">
88
							<div class="row">
88
                            <div class="col-lg-6">
89
								<div class="col-lg-6">
89
                                <select name="filter[invoicedate_m]" class="form-control input-sm">
90
									<select name="filter[invoicedate_m]" class="form-control input-sm">
90
                                    <option value="-1"><?php echo __("Alle", "wpsg"); ?></option>
91
										<option value="-1"><?php echo __("Alle", "wpsg"); ?></option>
91
                                    <?php for ($i = 1; $i <= 12; $i ++) { ?>
92
										<?php for ($i = 1; $i <= 12; $i ++) { ?>
92
                                    <option <?php echo ((wpsg_getStr($this->view['arFilter']['invoicedate_m']) == $i)?'selected="selected"':''); ?> value="<?php echo str_pad($i, 2, '0', STR_PAD_LEFT); ?>"><?php echo strftime("%B", mktime(0, 0, 0, $i, 1, 2000)); ?></option>
93
										<option <?php echo ((wpsg_getStr($this->view['arFilter']['invoicedate_m']) == $i)?'selected="selected"':''); ?> value="<?php echo str_pad($i, 2, '0', STR_PAD_LEFT); ?>"><?php echo strftime("%B", mktime(0, 0, 0, $i, 1, 2000)); ?></option>
93
                                    <?php } ?>
94
										<?php } ?>
94
                                </select>
95
									</select>
95
                            </div>
96
								</div>
96
                            <div class="col-lg-6">
97
								<div class="col-lg-6">
97
                                <select name="filter[invoicedate_y]" class="form-control input-sm">
98
									<select name="filter[invoicedate_y]" class="form-control input-sm">
98
                                    <option value="-1"><?php echo __("Alle", "wpsg"); ?></option>
99
										<option value="-1"><?php echo __("Alle", "wpsg"); ?></option>
99
                                    <?php foreach ($this->view['invoicedate_years'] as $y) { ?>
100
										<?php foreach ($this->view['invoicedate_years'] as $y) { ?>
100
                                    <option <?php echo ((wpsg_getStr($this->view['arFilter']['invoicedate_y']) == $y)?'selected="selected"':''); ?> value="<?php echo $y; ?>"><?php echo $y; ?></option>
101
										<option <?php echo ((wpsg_getStr($this->view['arFilter']['invoicedate_y']) == $y)?'selected="selected"':''); ?> value="<?php echo $y; ?>"><?php echo $y; ?></option>
101
                                    <?php } ?>
102
										<?php } ?>
102
                                </select>
103
									</select>
103
                            </div>
104
								</div>
104
                        </div>
105
							</div>
105
                        <?php echo wpsg_drawForm_TextEnd(__('Rechnungsdatum (Monat/Jahr)', 'wpsg'), array('noP' => true)); ?>
106
							<?php echo wpsg_drawForm_TextEnd(__('Rechnungsdatum (Monat/Jahr)', 'wpsg'), array('noP' => true)); ?>
-
 
107
						<?php } ?>
106
 
108
 
107
    					<br />
109
    					<br />
108
                        
110
                        
109
                        <?php echo wpsg_drawForm_SubmitButton(__('Bestellungen suchen')); ?>
111
                        <?php echo wpsg_drawForm_SubmitButton(__('Bestellungen suchen')); ?>
110
 
112
 
Line 129... Line 131...
129
	
131
	
130
							<?php echo wp_nonce_field('wpsg-order-add'); ?>
132
							<?php echo wp_nonce_field('wpsg-order-add'); ?>
131
							                            
133
							                            
132
                            <br />
134
                            <br />
133
                            
135
                            
134
                            <?php echo wpsg_drawForm_Input('search_customer',__('Kunde (E-Mail oder Kundennummer)', 'wpsg'), @$_REQUEST['search_customer']); ?>
136
                            <?php echo wpsg_drawForm_Input('search_customer',__('Kunde (E-Mail oder Kundennummer)', 'wpsg'), wpsg_getStr($_REQUEST['search_customer'])); ?>
135
                            
137
                            
136
                            <br />
138
                            <br />
137
							
139
							
138
                            <?php $arShippingSelect = []; foreach ($this->arShipping as $shipping_id => $shipping) if (!isset($shipping['active']) || $shipping['active'] === '1') $arShippingSelect[$shipping_id] = $shipping['name'].' ('.wpsg_ff(@$shipping['price']).')'; ?>
140
                            <?php $arShippingSelect = []; foreach ($this->arShipping as $shipping_id => $shipping) if (!isset($shipping['active']) || $shipping['active'] === '1') $arShippingSelect[$shipping_id] = $shipping['name'].' ('.wpsg_ff(@$shipping['price']).')'; ?>
139
                            <?php echo wpsg_drawForm_Select('add_shipping', __('Versandart', 'wpsg'), $arShippingSelect, @$_REQUEST['add_shipping']); ?>
141
                            <?php echo wpsg_drawForm_Select('add_shipping', __('Versandart', 'wpsg'), $arShippingSelect, wpsg_getStr($_REQUEST['add_shipping'])); ?>
140
 
142
 
141
                            <?php $arPaymentSelect = []; foreach ($this->arPayment as $payment_id => $payment) if (!isset($payment['active']) || $payment['active'] === '1')  $arPaymentSelect[$payment_id] = $payment['name'].' ('.wpsg_ff(@$payment['price']).')'; ?>
143
                            <?php $arPaymentSelect = []; foreach ($this->arPayment as $payment_id => $payment) if (!isset($payment['active']) || $payment['active'] === '1')  $arPaymentSelect[$payment_id] = $payment['name'].' ('.wpsg_ff(wpsg_getStr($payment['price'])).')'; ?>
142
                            <?php echo wpsg_drawForm_Select('add_payment', __('Zahlungsart', 'wpsg'), $arPaymentSelect, @$_REQUEST['add_payment']); ?>
144
                            <?php echo wpsg_drawForm_Select('add_payment', __('Zahlungsart', 'wpsg'), $arPaymentSelect, wpsg_getStr($_REQUEST['add_payment'])); ?>
143
                            
145
                            
144
                            <br /><?php echo wpsg_drawForm_SubmitButton(__('Bestellung anlegen')); ?><br />
146
                            <br /><?php echo wpsg_drawForm_SubmitButton(__('Bestellung anlegen')); ?><br />
145
                            
147
                            
146
                            <script>
148
                            <script>
147
                                
149