dolibarr 19.0.3
|
Class to manage standing orders rejects. More...
Public Member Functions | |
__construct ($db, $user, $type) | |
Constructor. | |
create ($user, $id, $motif, $date_rejet, $bonid, $facturation=0) | |
Create a reject. | |
fetch ($rowid) | |
Retrieve withdrawal object. | |
Private Member Functions | |
_send_email ($fac) | |
Send email to all users that has asked the withdraw request. | |
getListInvoices ($amounts=0) | |
Retrieve the list of invoices. | |
Class to manage standing orders rejects.
Definition at line 32 of file rejetprelevement.class.php.
RejetPrelevement::__construct | ( | $db, | |
$user, | |||
$type ) |
|
private |
Send email to all users that has asked the withdraw request.
Facture | $fac | Invoice object |
Definition at line 245 of file rejetprelevement.class.php.
References dol_syslog(), price(), and user.
Referenced by create().
RejetPrelevement::create | ( | $user, | |
$id, | |||
$motif, | |||
$date_rejet, | |||
$bonid, | |||
$facturation = 0 ) |
Create a reject.
User | $user | User object |
int | $id | Id |
string | $motif | Motif |
int | $date_rejet | Date reject |
int | $bonid | Bon id |
int | $facturation | 1=Bill the reject |
Definition at line 110 of file rejetprelevement.class.php.
References _send_email(), dol_now(), dol_syslog(), getDolGlobalString(), getListInvoices(), price2num(), and type.
RejetPrelevement::fetch | ( | $rowid | ) |
Retrieve withdrawal object.
int | $rowid | id of invoice to retrieve |
Definition at line 364 of file rejetprelevement.class.php.
References dol_syslog().
|
private |
Retrieve the list of invoices.
int | $amounts | If you want to get the amount of the order for each invoice |
Definition at line 313 of file rejetprelevement.class.php.
References dol_syslog(), and type.
Referenced by create().