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';