|
dolibarr 25.0.0-alpha
|
Class to manage withdrawals. More...

Public Member Functions | |
| __construct ($db) | |
| Constructor. | |
| fetch ($rowid) | |
| Recupere l'objet prelevement. | |
| getLibStatut ($mode=0) | |
| Return status label of object. | |
| LibStatut ($status, $mode=0) | |
| Return status label for a status. | |
| getKanbanView ($option='', $arraydata=null) | |
| Return clickable link of object (with eventually picto) | |
Static Public Member Functions | |
| static | replaceThirdparty (DoliDB $dbs, $origin_id, $dest_id) |
| Function used to replace a thirdparty id with another one. | |
Class to manage withdrawals.
Definition at line 33 of file ligneprelevement.class.php.
| LignePrelevement::__construct | ( | $db | ) |
Constructor.
Definition at line 98 of file ligneprelevement.class.php.
| LignePrelevement::fetch | ( | $rowid | ) |
Recupere l'objet prelevement.
| int | $rowid | Id de la facture a recuperer |
Definition at line 118 of file ligneprelevement.class.php.
References $conf, amount, dol_syslog(), and status.
| LignePrelevement::getKanbanView | ( | $option = '', | |
| $arraydata = null ) |
Return clickable link of object (with eventually picto)
| string | $option | Where point the link (0=> main card, 1,2 => shipment, 'nolink'=>No link) |
| ?array<string,mixed> | $arraydata Array of data |
Definition at line 221 of file ligneprelevement.class.php.
References amount, getLibStatut(), img_picto(), and price().
| LignePrelevement::getLibStatut | ( | $mode = 0 | ) |
Return status label of object.
| int | $mode | 0=Label, 1=Picto + label, 2=Picto, 3=Label + Picto |
Definition at line 165 of file ligneprelevement.class.php.
References LibStatut().
Referenced by getKanbanView().
| LignePrelevement::LibStatut | ( | $status, | |
| $mode = 0 ) |
Return status label for a status.
| int | $status | Id status |
| int | $mode | 0=Label, 1=Picto + label, 2=Picto, 3=Label + Picto |
Definition at line 178 of file ligneprelevement.class.php.
References img_picto().
Referenced by getLibStatut().
|
static |
Function used to replace a thirdparty id with another one.
| DoliDB | $dbs | Database handler, because function is static we name it $dbs not $db to avoid breaking coding test |
| int | $origin_id | Old thirdparty id |
| int | $dest_id | New thirdparty id |
Definition at line 266 of file ligneprelevement.class.php.
References CommonObject\commonReplaceThirdparty().