Fix creation of supplier invoice

This commit is contained in:
Laurent Destailleur 2018-04-06 20:34:12 +02:00
parent ee870342ef
commit 9e89675862
2 changed files with 15 additions and 15 deletions

View File

@ -285,9 +285,9 @@ class FactureFournisseur extends CommonInvoice
$sql.= ", ".$this->socid;
$sql.= ", '".$this->db->idate($now)."'";
$sql.= ", '".$this->db->idate($this->date)."'";
$sql.= ", ".(isset($this->fk_project)?$this->fk_project:"null");
$sql.= ", ".(isset($this->cond_reglement_id)?$this->cond_reglement_id:"null");
$sql.= ", ".(isset($this->mode_reglement_id)?$this->mode_reglement_id:"null");
$sql.= ", ".($this->fk_project > 0 ? $this->fk_project:"null");
$sql.= ", ".($this->cond_reglement_id > 0 ? $this->cond_reglement_id:"null");
$sql.= ", ".($this->mode_reglement_id > 0 ? $this->mode_reglement_id:"null");
$sql.= ", ".($this->fk_account>0?$this->fk_account:'NULL');
$sql.= ", '".$this->db->escape($this->note_private)."'";
$sql.= ", '".$this->db->escape($this->note_public)."'";

View File

@ -836,7 +836,7 @@ div.fiche>div.tabBar>form>div.div-table-responsive {
min-height: 392px;
}
div.fiche {
text-align: justify;
/* text-align: justify; */
}
.flexcontainer {