forked from DGNum/gestioCOF
ajouts supp. previous_op
- Le trigramme est obtenu à partir de ``account_data`` qui contient les données traitées et validées relatives au compte en train de commander. - L'opération précédente disparaît en cas de ``hard reset``
This commit is contained in:
parent
7ed9c90726
commit
a34732cc9d
1 changed files with 6 additions and 1 deletions
|
@ -1054,12 +1054,16 @@ $(document).ready(function() {
|
|||
|
||||
function updatePreviousOp() {
|
||||
var previousop_html = '';
|
||||
var trigramme = triInput.val().toUpperCase();
|
||||
var trigramme = account_data['trigramme'];
|
||||
previousop_html += '<div class="trigramme">Trigramme : '+trigramme+'</div>';
|
||||
previousop_html += basketrel_container.html();
|
||||
previousop_container.html(previousop_html);
|
||||
}
|
||||
|
||||
function resetPreviousOp() {
|
||||
previousop_container.html('');
|
||||
}
|
||||
|
||||
// -----
|
||||
// Addcost
|
||||
// -----
|
||||
|
@ -1228,6 +1232,7 @@ $(document).ready(function() {
|
|||
coolReset(give_tri_focus);
|
||||
checkoutInput.trigger('change');
|
||||
resetArticles();
|
||||
resetPreviousOp();
|
||||
khistory.reset();
|
||||
resetSettings();
|
||||
getArticles();
|
||||
|
|
Loading…
Reference in a new issue