dolibarr 21.0.0-alpha
|
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 33 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 255 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<0,1> | $facturation 1=Bill the reject |
Definition at line 123 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 375 of file rejetprelevement.class.php.
References dol_syslog().
|
private |
Retrieve the list of invoices.
int<0,1> | $amounts If you want to get the amount of the order for each invoice |
Definition at line 324 of file rejetprelevement.class.php.
References dol_syslog(), and type.
Referenced by create().