29 include_once DOL_DOCUMENT_ROOT.
'/core/modules/DolibarrModules.class.php';
50 $this->family =
"financial";
51 $this->module_position =
'52';
53 $this->
name = preg_replace(
'/^mod/i',
'', get_class($this));
54 $this->
description =
"Management of payment by bank transfer";
57 $this->version =
'dolibarr';
59 $this->const_name =
'MAIN_MODULE_'.strtoupper($this->
name);
61 $this->picto =
'payment';
64 $this->dirs = array(
"/paymentbybanktransfer/temp",
"/paymentbybanktransfer/receipts");
67 $this->hidden =
false;
68 $this->depends = array(
"modFournisseur",
"modBanque");
69 $this->requiredby = array();
70 $this->conflictwith = array();
71 $this->phpmin = array(7, 0);
74 $this->config_page_url = array(
"paymentbybanktransfer.php");
77 $this->
const = array();
89 $this->boxes = array();
92 $this->rights = array();
93 $this->rights_class =
'paymentbybanktransfer';
96 $this->rights[$r][0] = 561;
97 $this->rights[$r][1] =
'Read bank transfer payment orders';
98 $this->rights[$r][2] =
'r';
99 $this->rights[$r][3] = 0;
100 $this->rights[$r][4] =
'read';
103 $this->rights[$r][0] = 562;
104 $this->rights[$r][1] =
'Create/modify a bank transfer payment order';
105 $this->rights[$r][2] =
'w';
106 $this->rights[$r][3] = 0;
107 $this->rights[$r][4] =
'create';
110 $this->rights[$r][0] = 563;
111 $this->rights[$r][1] =
'Send/Transmit bank transfer payment order';
112 $this->rights[$r][2] =
'a';
113 $this->rights[$r][3] = 0;
114 $this->rights[$r][4] =
'send';
117 $this->rights[$r][0] = 564;
118 $this->rights[$r][1] =
'Record Debits/Rejects of bank transfer payment order';
119 $this->rights[$r][2] =
'a';
120 $this->rights[$r][3] = 0;
121 $this->rights[$r][4] =
'debit';
137 public function init($options =
'')
142 $this->
remove($options);
146 return $this->
_init($sql, $options);
_init($array_sql, $options='')
Enables a module.
Class to describe and enable module of payment by Bank transfer.
init($options='')
Function called when module is enabled.
__construct($db)
Constructor.
print *****$script_file(".$version.") pid cd cd cd description as description
Only used if Module[ID]Desc translation string is not found.
$conf db name
Only used if Module[ID]Name translation string is not found.
$conf db
API class for accounts.