Projekt

Allgemein

Profil

GX-Bug #51980 » InputNumberFix.patch

Till Tepelmann, 03.06.2017 09:27

Unterschiede anzeigen:

src/admin/gm_id_starts.php (revision )
1 1
<?php
2 2
/* --------------------------------------------------------------
3
   gm_id_starts.php 2016-10-17
3
   gm_id_starts.php 2017-06-03
4 4
   Gambio GmbH
5 5
   http://www.gambio.de
6
   Copyright (c) 2016 Gambio GmbH
6
   Copyright (c) 2017 Gambio GmbH
7 7
   Released under the GNU General Public License (Version 2)
8 8
   [http://www.gnu.org/licenses/gpl-2.0.html]
9 9

  
......
134 134
													</label>
135 135
												</td>
136 136
												<td class="dataTableContent_gm">
137
													<input type="text" name="gm_id_starts_orders_id" id="gm_id_starts_orders_id"  value="<?php echo $gmIdStarts->get_orders_autoindex(); ?>">
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 />
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="text" name="gm_id_starts_customers_id" id="gm_id_starts_customers_id"  value="<?php echo $gmIdStarts->get_customers_autoindex(); ?>">
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 />
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="text" name="GM_NEXT_INVOICE_ID" id="GM_NEXT_INVOICE_ID" value="<?php echo $gmFormat->get_next_id('GM_NEXT_INVOICE_ID'); ?>">
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 />
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="text" name="GM_NEXT_PACKINGS_ID" id="GM_NEXT_PACKINGS_ID" value="<?php echo $gmFormat->get_next_id('GM_NEXT_PACKINGS_ID'); ?>">
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 />
210 210
													<span class="tooltip-icon" data-gx-widget="tooltip_icon" data-tooltip_icon-type="info">
211 211
														<?php 
212 212
														
......
255 255
		<br />
256 256
	</body>
257 257
</html>
258
<?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>
258
<?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>
    (1-1/1)