FIX supplier invoice status on bank transfer line
This commit is contained in:
parent
8f0bafd6c7
commit
9f8b67a6ec
@ -116,7 +116,13 @@ if ($action == 'confirm_rejet') {
|
|||||||
* View
|
* View
|
||||||
*/
|
*/
|
||||||
|
|
||||||
$invoicestatic = new Facture($db);
|
if ($type == 'bank-transfer') {
|
||||||
|
require_once DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.facture.class.php';
|
||||||
|
$invoicestatic = new FactureFournisseur($db);
|
||||||
|
} else {
|
||||||
|
require_once DOL_DOCUMENT_ROOT.'/compta/facture/class/facture.class.php';
|
||||||
|
$invoicestatic = new Facture($db);
|
||||||
|
}
|
||||||
|
|
||||||
$title = $langs->trans("WithdrawalsLine");
|
$title = $langs->trans("WithdrawalsLine");
|
||||||
if ($type == 'bank-transfer') {
|
if ($type == 'bank-transfer') {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user