correction affichage étape et logo poche et tubes
This commit is contained in:
@ -60,8 +60,6 @@ export default class GetEvent{
|
||||
|
||||
}
|
||||
if(response.data.status == 'init'){
|
||||
$pictureTube.css('display', 'none');
|
||||
$picturePoche.css('display', 'none');
|
||||
let pochesImg = $('.sang');
|
||||
[...pochesImg].forEach(sang=>{
|
||||
sang.remove();
|
||||
@ -114,14 +112,14 @@ export default class GetEvent{
|
||||
}
|
||||
case '2':
|
||||
if(response.data.status == 'success'){
|
||||
console.log('step 2 success !!')
|
||||
$typePoche.html(response.data.nbre_poche)
|
||||
$current.html(response.data.nbre_poche)
|
||||
console.log(response.data.nbre_poche)
|
||||
$type.html('Poches');
|
||||
$todo.html(response.data.nbre_poche_max)
|
||||
$input.attr('max', response.data.nbre_poche_max)
|
||||
$input.attr('value', response.data.nbre_poche)
|
||||
if(response.data.nbre_poche !=response.data.nbre_poche_max ){
|
||||
if(response.data.nbre_poche !=response.data.nbre_poche_max && response.data.nbre_poche != 0){
|
||||
$picturePoche.append('<div class="sang"><img src="/poches/Poche_sang2.png"></div>')
|
||||
}
|
||||
saisie.focus();
|
||||
|
Reference in New Issue
Block a user