commit
c116842066
@ -19,26 +19,34 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* \file htdocs/fourn/paiement/card.php
|
||||
* \ingroup facture, fournisseur
|
||||
* \brief Tab to show a payment of a supplier invoice
|
||||
* \remarks Fichier presque identique a compta/paiement/card.php
|
||||
* \file htdocs/fourn/paiement/card.php
|
||||
* \ingroup facture, fournisseur
|
||||
* \brief Tab to show a payment of a supplier invoice
|
||||
* \remarks Fichier presque identique a compta/paiement/card.php
|
||||
*/
|
||||
|
||||
|
||||
// Load Dolibarr environment
|
||||
require '../../main.inc.php';
|
||||
require_once DOL_DOCUMENT_ROOT.'/core/class/html.formfile.class.php';
|
||||
require_once DOL_DOCUMENT_ROOT.'/fourn/class/paiementfourn.class.php';
|
||||
require_once DOL_DOCUMENT_ROOT.'/core/lib/payments.lib.php';
|
||||
require_once DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.class.php';
|
||||
require_once DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.facture.class.php';
|
||||
require_once DOL_DOCUMENT_ROOT.'/core/lib/payments.lib.php';
|
||||
require_once DOL_DOCUMENT_ROOT.'/fourn/class/paiementfourn.class.php';
|
||||
|
||||
$langs->loadLangs(array('bills', 'banks', 'companies', 'suppliers'));
|
||||
|
||||
$id = GETPOST('id', 'int');
|
||||
// Load translation files required by the page
|
||||
$langs->loadLangs(array('banks', 'bills', 'companies', 'suppliers'));
|
||||
|
||||
|
||||
// Get Parameters
|
||||
$id = GETPOST('id', 'int');
|
||||
$action = GETPOST('action', 'alpha');
|
||||
$confirm = GETPOST('confirm', 'alpha');
|
||||
$confirm = GETPOST('confirm', 'alpha');
|
||||
|
||||
// Initialize objects
|
||||
$object = new PaiementFourn($db);
|
||||
|
||||
// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
|
||||
$hookmanager->initHooks(array('supplierpaymentcard', 'globalcard'));
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user