add short translation
This commit is contained in:
parent
17aa80ed81
commit
36a3f5173c
1 changed files with 7 additions and 7 deletions
|
|
@ -202,7 +202,7 @@ function ClearSearch() {
|
|||
$("#search").val('');
|
||||
$("#qty").html("<?php echo $langs->trans("Qty"); ?>").removeClass('clicked');
|
||||
$("#price").html("<?php echo $langs->trans("Price"); ?>").removeClass('clicked');
|
||||
$("#reduction").html("<?php echo $langs->trans("LineDiscount"); ?>").removeClass('clicked');
|
||||
$("#reduction").html("<?php echo $langs->trans("LineDiscountShort"); ?>").removeClass('clicked');
|
||||
<?php if ($conf->browser->layout == 'classic') { ?>
|
||||
setFocusOnSearchField();
|
||||
<?php } ?>
|
||||
|
|
@ -754,7 +754,7 @@ function Edit(number) {
|
|||
Refresh();
|
||||
$("#qty").html("<?php echo $langs->trans("Qty"); ?>").removeClass('clicked');
|
||||
$("#price").html("<?php echo $langs->trans("Price"); ?>").removeClass('clicked');
|
||||
$("#reduction").html("<?php echo $langs->trans("LineDiscount"); ?>").removeClass('clicked');
|
||||
$("#reduction").html("<?php echo $langs->trans("LineDiscountShort"); ?>").removeClass('clicked');
|
||||
return;
|
||||
} else if (number=='qty') {
|
||||
if (editaction=='qty' && editnumber != '') {
|
||||
|
|
@ -789,7 +789,7 @@ function Edit(number) {
|
|||
$("#poslines").load("invoice.php?action=updatereduction&token=<?php echo newToken(); ?>&place="+place+"&idline="+selectedline+"&number="+editnumber, function() {
|
||||
editnumber="";
|
||||
//$('#poslines').scrollTop($('#poslines')[0].scrollHeight);
|
||||
$("#reduction").html("<?php echo $langs->trans("LineDiscount"); ?>").removeClass('clicked');
|
||||
$("#reduction").html("<?php echo $langs->trans("LineDiscountShort"); ?>").removeClass('clicked');
|
||||
});
|
||||
|
||||
ClearSearch();
|
||||
|
|
@ -806,16 +806,16 @@ function Edit(number) {
|
|||
text=text+"<?php echo $langs->trans("Modify")." -> ".$langs->trans("Qty").": "; ?>";
|
||||
$("#qty").html("OK").addClass("clicked");
|
||||
$("#price").html("<?php echo $langs->trans("Price"); ?>").removeClass('clicked');
|
||||
$("#reduction").html("<?php echo $langs->trans("LineDiscount"); ?>").removeClass('clicked');
|
||||
$("#reduction").html("<?php echo $langs->trans("LineDiscountShort"); ?>").removeClass('clicked');
|
||||
}
|
||||
if (editaction=='p'){
|
||||
text=text+"<?php echo $langs->trans("Modify")." -> ".$langs->trans("Price").": "; ?>";
|
||||
$("#qty").html("<?php echo $langs->trans("Qty"); ?>").removeClass('clicked');
|
||||
$("#price").html("OK").addClass("clicked");
|
||||
$("#reduction").html("<?php echo $langs->trans("LineDiscount"); ?>").removeClass('clicked');
|
||||
$("#reduction").html("<?php echo $langs->trans("LineDiscountShort"); ?>").removeClass('clicked');
|
||||
}
|
||||
if (editaction=='r'){
|
||||
text=text+"<?php echo $langs->trans("Modify")." -> ".$langs->trans("LineDiscount").": "; ?>";
|
||||
text=text+"<?php echo $langs->trans("Modify")." -> ".$langs->trans("LineDiscountShort").": "; ?>";
|
||||
$("#qty").html("<?php echo $langs->trans("Qty"); ?>").removeClass('clicked');
|
||||
$("#price").html("<?php echo $langs->trans("Price"); ?>").removeClass('clicked');
|
||||
$("#reduction").html("OK").addClass("clicked");
|
||||
|
|
@ -1175,7 +1175,7 @@ if (empty($conf->global->TAKEPOS_HIDE_HEAD_BAR)) {
|
|||
<button type="button" class="calcbutton" onclick="Edit(1);">1</button>
|
||||
<button type="button" class="calcbutton" onclick="Edit(2);">2</button>
|
||||
<button type="button" class="calcbutton" onclick="Edit(3);">3</button>
|
||||
<button type="button" id="reduction" class="calcbutton2" onclick="Edit('r')"><?php echo $langs->trans("LineDiscount"); ?></button>
|
||||
<button type="button" id="reduction" class="calcbutton2" onclick="Edit('r')"><?php echo $langs->trans("LineDiscountShort"); ?></button>
|
||||
<button type="button" class="calcbutton" onclick="Edit(0);">0</button>
|
||||
<button type="button" class="calcbutton" onclick="Edit('.')">.</button>
|
||||
<button type="button" class="calcbutton poscolorblue" onclick="Edit('c')">C</button>
|
||||
|
|
|
|||
Loading…
Reference in a new issue