Skip to content

Commit

Permalink
Show the Price in edit_part_info.
Browse files Browse the repository at this point in the history
  • Loading branch information
jbtronics committed Dec 11, 2016
1 parent 9504fde commit 6402891
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -171,4 +171,4 @@ templates_c/
.idea/

#Models
models/
models/*
1 change: 0 additions & 1 deletion show_part_info.php
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,6 @@
$html->set_variable('foot3d_filename', (is_object($footprint) ? str_replace(BASE, BASE_RELATIVE, $footprint->get_3d_filename()) : ''), 'string');
$html->set_variable('foot3d_valid', (is_object($footprint) ? $footprint->is_3d_filename_valid() : false), 'boolean');


// build orderdetails loop
$orderdetails_loop = array();
$row_odd = true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@

<td >
<div class="input-group">
<input type="number" min="0" step="0.01" class="form-control" name="price_{$price.pricedetails_id}" onkeypress="validatePosFloatNumber(event)" value="{$price.price}">
<input type="text" min="0" step="0.01" class="form-control" name="price_{$price.pricedetails_id}" onkeypress="validatePosFloatNumber(event)" value="{$price.price}">
<span class="input-group-addon">{t}pro{/t}</span>
<input type="number" min="0" class="form-control" name="price_related_quantity_{$price.pricedetails_id}" onkeypress="validatePosIntNumber(event)" value="{$price.price_related_quantity}">
<span class="input-group-addon">{t}Stk.{/t}</span>
Expand Down

0 comments on commit 6402891

Please sign in to comment.