Fix #0002155: EXT/IMPOP2 : to keep the data sorted as they were uploaded
This commit is contained in:
parent
9013df24e9
commit
8d98e331cf
1 changed files with 2 additions and 2 deletions
|
|
@ -1009,7 +1009,7 @@ class Acc_Sold extends Acc_Detail
|
|||
parent::get();
|
||||
$sql="SELECT qs_id, qs_internal, qs_fiche, qs_quantite, qs_price, qs_vat,
|
||||
qs_vat_code, qs_client, qs_valid, j_id,j_text,qs_vat_sided , qs_unit , j_debit
|
||||
FROM quant_sold join jrnx using(j_id) where j_grpt=$1";
|
||||
FROM quant_sold join jrnx using(j_id) where j_grpt=$1 order by j_id";
|
||||
$this->det->array=$this->db->get_array($sql,array($this->det->jr_grpt_id));
|
||||
}
|
||||
/***
|
||||
|
|
@ -1065,7 +1065,7 @@ class Acc_Purchase extends Acc_Detail
|
|||
$sql="SELECT qp_id, qp_internal, j_id, qp_fiche, qp_quantite, qp_price, qp_vat,
|
||||
qp_vat_code, qp_nd_amount, qp_nd_tva, qp_nd_tva_recup, qp_supplier,
|
||||
qp_valid, qp_dep_priv,j_text,qp_vat_sided,qp_unit , j_debit
|
||||
FROM quant_purchase join jrnx using(j_id) where j_grpt=$1";
|
||||
FROM quant_purchase join jrnx using(j_id) where j_grpt=$1 order by j_id";
|
||||
$this->det->array=$this->db->get_array($sql,array($this->det->jr_grpt_id));
|
||||
}
|
||||
/***
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue