Ajout onglet aperçu sur la fiche commande client
This commit is contained in:
parent
4f511c95a3
commit
45c5a31686
@ -441,7 +441,7 @@ class Commande
|
|||||||
* Lit une commande
|
* Lit une commande
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
function fetch ($id)
|
function fetch($id)
|
||||||
{
|
{
|
||||||
$sql = 'SELECT c.rowid, c.date_creation, c.ref, c.fk_soc, c.fk_user_author, c.fk_statut, c.amount_ht, c.total_ht, c.total_ttc, c.tva';
|
$sql = 'SELECT c.rowid, c.date_creation, c.ref, c.fk_soc, c.fk_user_author, c.fk_statut, c.amount_ht, c.total_ht, c.total_ttc, c.tva';
|
||||||
$sql .= ', '.$this->db->pdate('c.date_commande').' as date_commande, c.fk_projet, c.remise_percent, c.source, c.facture, c.note, c.ref_client';
|
$sql .= ', '.$this->db->pdate('c.date_commande').' as date_commande, c.fk_projet, c.remise_percent, c.source, c.facture, c.note, c.ref_client';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user