Estimez la taille
de votre box de stockage
Estimez la taille
de votre box de stockage
0 ){
let closest = m3s.reduce(function(prev, curr) {
return (Math.abs(curr - v_total) < Math.abs(prev - v_total) ? curr : prev);
});
let found_elem = false;
for( elem of Object.values( m3_data ) ) {
if( found_elem == false ){
if( parseFloat( elem.meta ) == parseFloat( closest ) ){
selected_closest = closest;
found_elem = true;
$store.form.selected_box = elem.id;
$store.form.selected_manager = elem.manager;
$store.form.selected_phone = elem.phone;
$store.form.selected_title_address = elem.center + ' ' + elem.address;
$store.form.selected_price = elem.price;
$store.form.selected_type = elem.type;
$store.form.selected_size = elem.size;
}
}
}
}*/
}" x-init="
function(){
setInterval( () => {
console.log('Interval');
$store.script_form.calcularMedidaRecomendada(window.volumen_total, $store.script_form.generic_inventory_percent_required_m2 , window.selected_center_id);
},5000);
}
">
Gagnez du temps avec nos inventaires pré-remplis!
Effacer
Recherche en cours...
0 ){
//console.log('Este es el elemento: '+JSON.stringify(elem));
//console.log('Volumen del elemento: '+ elem.volume);
let result = 0;
if( elem.width == 0 && elem.height == 0 && elem.length == 0 && elem.volume > 0 ){
result = elem.volume;
}else{
//console.log('Calculamos el volumen');
let the_width = elem.custom_width == 0 ? elem.width : elem.custom_width;
let the_height = elem.custom_height == 0 ? elem.height : elem.custom_height;
let the_length = elem.custom_length == 0 ? elem.length : elem.custom_length;
result = ( ( the_width / 100 ) * ( the_height / 100 ) * ( the_length / 100 ) );
}
result = result.toFixed( 1 );
total += elem.qty * result;
}
}
//total = internationalNumberFormat.format( total );
section.total = total;
section_total = internationalNumberFormat.format( total );
$dispatch( 'update' );
}" x-data="{section_total: '' }">
0
Ajouter un objet
Dupliquer cette pièce
m 3
0
m
3
Lave linge
1
m
3
100 x
100 x
100 cm
0
100 cm
100 cm
100 cm
cm
cm
cm
Annuler
Ajouter objet
Cancel
Add Section
0
m³
Volume estimé:
m³