modifs ???
This commit is contained in:
@@ -47,9 +47,12 @@
|
||||
<div class="form-group">
|
||||
<label class="control-label col-sm-2">Quantité</label>
|
||||
<div class="col-sm-10">
|
||||
<div class="input-group">
|
||||
<span class="input-group-addon" id="unite">.00</span>
|
||||
<input class="form-control" type="text" id="qte" name="qte" value="${ligne.qte}">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="control-label col-sm-2">Prix HT</label>
|
||||
<div class="col-sm-10">
|
||||
@@ -196,11 +199,13 @@ $(document).ready(function() {
|
||||
var ref = response[0]['ref'];
|
||||
var libelle = response[0]['libelle'];
|
||||
var prixht = response[0]['prixht'];
|
||||
var unite = response[0]['unite'];
|
||||
|
||||
// Set value to textboxes
|
||||
document.getElementById('ref').value = ref;
|
||||
document.getElementById('libelle').value = libelle;
|
||||
document.getElementById('prixht').value = prixht;
|
||||
document.getElementById("unite").innerHTML= unite;
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
@@ -34,10 +34,6 @@
|
||||
<a href="${request.application_url}/text_list"><span class="glyphicon glyphicon-list logo-primary"></span></a>
|
||||
<h4>TEXTES EMAIL</h4>
|
||||
</div>
|
||||
<div class="col-sm-3">
|
||||
<a href="${request.application_url}/new_home"><span class="glyphicon glyphicon-dashboard logo-primary"></span></a>
|
||||
<h4>PROTOTYPE HOME</h4>
|
||||
</div>
|
||||
</div>
|
||||
<br />
|
||||
<div class="row text-center">
|
||||
|
||||
@@ -65,16 +65,19 @@
|
||||
var options_ca_3y_1 = {
|
||||
title: '${title1}',
|
||||
colors: ['purple', 'ff9900', '#dc3912', '3366cc', 'green'],
|
||||
pieHole: 0.3,
|
||||
};
|
||||
|
||||
var options_ca_3y_2 = {
|
||||
title: '${title2}',
|
||||
colors: ['purple', 'ff9900', '#dc3912', '3366cc', 'green'],
|
||||
pieHole: 0.3,
|
||||
};
|
||||
|
||||
var options_ca_3y_3 = {
|
||||
title: '${title3}',
|
||||
colors: ['purple', 'ff9900', '#dc3912', '3366cc', 'green'],
|
||||
pieHole: 0.3,
|
||||
};
|
||||
|
||||
var chart_ca_12m = new google.visualization.ColumnChart(document.getElementById('chart_ca_12m'));
|
||||
|
||||
@@ -410,6 +410,6 @@ def ajax_article(request):
|
||||
d['ref'] = items.ref
|
||||
d['libelle'] = items.libelle
|
||||
d['prixht'] = "%.2f" % items.prixht
|
||||
d['unite'] = items.unite
|
||||
liste.append(d)
|
||||
|
||||
return Response(json.dumps(liste))
|
||||
|
||||
Reference in New Issue
Block a user