Projekt

Allgemein

Profil

GX-Bug #52694 » MaxInputNummerFix.patch

Till Tepelmann, 01.08.2017 12:36

Unterschiede anzeigen:

src/admin/gm_id_starts.php (revision )
134 134
													</label>
135 135
												</td>
136 136
												<td class="dataTableContent_gm">
137
													<input type="number" max="999999999" min="<?php echo $gmIdStarts->get_last_orders_id() + 1; ?>" name="gm_id_starts_orders_id" id="gm_id_starts_orders_id"  value="<?php echo $gmIdStarts->get_orders_autoindex(); ?>" required />
137
													<input type="number" max="2100000000" min="<?php echo $gmIdStarts->get_last_orders_id() + 1; ?>" name="gm_id_starts_orders_id" id="gm_id_starts_orders_id"  value="<?php echo $gmIdStarts->get_orders_autoindex(); ?>" required />
138 138
													<span class="tooltip-icon" data-gx-widget="tooltip_icon" data-tooltip_icon-type="info">
139 139
														Minimum: <?php echo $gmIdStarts->get_last_orders_id() + 1; ?>
140 140
													</span>
......
147 147
													</label>
148 148
												</td>
149 149
												<td class="dataTableContent_gm">
150
													<input type="number" max="999999999" min="<?php echo $gmIdStarts->get_last_customers_id() + 1; ?>" name="gm_id_starts_customers_id" id="gm_id_starts_customers_id"  value="<?php echo $gmIdStarts->get_customers_autoindex(); ?>" required />
150
													<input type="number" max="2100000000" min="<?php echo $gmIdStarts->get_last_customers_id() + 1; ?>" name="gm_id_starts_customers_id" id="gm_id_starts_customers_id"  value="<?php echo $gmIdStarts->get_customers_autoindex(); ?>" required />
151 151
													<span class="tooltip-icon" data-gx-widget="tooltip_icon" data-tooltip_icon-type="info">
152 152
														Minimum: <?php echo $gmIdStarts->get_last_customers_id() + 1; ?>
153 153
													</span>
......
171 171
													</label>
172 172
												</td>
173 173
												<td class="dataTableContent_gm">
174
													<input type="number" min="<?php echo $gmFormat->get_next_free_id('invoice'); ?>" max="999999999" name="GM_NEXT_INVOICE_ID" id="GM_NEXT_INVOICE_ID" value="<?php echo $gmFormat->get_next_id('GM_NEXT_INVOICE_ID'); ?>" required />
174
													<input type="number" min="<?php echo $gmFormat->get_next_free_id('invoice'); ?>" max="2100000000" name="GM_NEXT_INVOICE_ID" id="GM_NEXT_INVOICE_ID" value="<?php echo $gmFormat->get_next_id('GM_NEXT_INVOICE_ID'); ?>" required />
175 175
													<span class="tooltip-icon" data-gx-widget="tooltip_icon" data-tooltip_icon-type="info">
176 176
														<?php
177 177
														
......
206 206
													</label>
207 207
												</td>
208 208
												<td class="dataTableContent_gm">
209
													<input type="number" min="<?php echo $gmFormat->get_next_free_id('packing_slip'); ?>" max="999999999" name="GM_NEXT_PACKINGS_ID" id="GM_NEXT_PACKINGS_ID" value="<?php echo $gmFormat->get_next_id('GM_NEXT_PACKINGS_ID'); ?>" required />
209
													<input type="number" min="<?php echo $gmFormat->get_next_free_id('packing_slip'); ?>" max="2100000000" name="GM_NEXT_PACKINGS_ID" id="GM_NEXT_PACKINGS_ID" value="<?php echo $gmFormat->get_next_id('GM_NEXT_PACKINGS_ID'); ?>" required />
210 210
													<span class="tooltip-icon" data-gx-widget="tooltip_icon" data-tooltip_icon-type="info">
211 211
														<?php 
212 212
														
    (1-1/1)