ILIAS
Release_4_4_x_branch Revision 61816
|
Public Member Functions | |
__construct () | |
Retrive or create Debtor. | |
getDebtorByNumber ($number) | |
Return true if debtor found in e-conomic and set handle to that debtor. | |
setDebtorGroup ($number=1) | |
createDebtor ($number) | |
Create a new debtor in e-conomic and set handle to that debtor. | |
getDebtorGroup () | |
setEAN ($ean) | |
Set EAN number on debtor. | |
createInvoice () | |
Create invoice. | |
createInvoiceLine ($product, $desc, $quantity, $unetprice) | |
Create a line on a invoice Don't care about product currently. | |
bookInvoice () | |
Finish the invoice. | |
getInvoicePDF ($v) | |
handle | |
Public Member Functions inherited from ilERPDebtor | |
getInvoiceNumber () | |
getName () | |
getEmail () | |
getAll () | |
Get all information about a Debtor. | |
setAll ($values) | |
Set information about a Debtor. | |
saveInvoice ($contens, $preview=true) | |
sendInvoice ($subject, $message, $to=null, $bytes, $fname="faktura") | |
setTestValues () | |
Generate random values to test integration with ERP. |
Private Member Functions | |
getProduct ($product=null) |
Private Attributes | |
$set | |
$erp | |
$invH |
Additional Inherited Members | |
Data Fields inherited from ilERPDebtor | |
const | website = "http://www.ilias.dk" |
const | senderEmail = "noreply@ilias.dk" |
const | senderName = "ILIAS ERP" |
Protected Attributes inherited from ilERPDebtor | |
$number | |
$name = '' | |
$email = '' | |
$address = '' | |
$postalcode = '' | |
$city = '' | |
$country = '' | |
$phone = '' | |
$ean | |
$website | |
$invoice_booked = false | |
$invoice_number = 0 | |
$handle | |
$dgh |
Definition at line 36 of file class.ilERPDebtor_eco.php.
ilERPDebtor_eco::__construct | ( | ) |
Retrive or create Debtor.
Reimplemented from ilERPDebtor.
Definition at line 45 of file class.ilERPDebtor_eco.php.
References ilERP_eco\_getInstance().
ilERPDebtor_eco::bookInvoice | ( | ) |
Finish the invoice.
Return a handle to it.
Definition at line 210 of file class.ilERPDebtor_eco.php.
ilERPDebtor_eco::createDebtor | ( | $number | ) |
Create a new debtor in e-conomic and set handle to that debtor.
Definition at line 88 of file class.ilERPDebtor_eco.php.
References ilERPDebtor\$dgh, ilERPDebtor\$number, ilERPDebtor\getAll(), and setDebtorGroup().
ilERPDebtor_eco::createInvoice | ( | ) |
Create invoice.
Definition at line 160 of file class.ilERPDebtor_eco.php.
ilERPDebtor_eco::createInvoiceLine | ( | $product, | |
$desc, | |||
$quantity, | |||
$unetprice | |||
) |
Create a line on a invoice Don't care about product currently.
Definition at line 178 of file class.ilERPDebtor_eco.php.
References getProduct().
ilERPDebtor_eco::getDebtorByNumber | ( | $number | ) |
Return true if debtor found in e-conomic and set handle to that debtor.
Definition at line 60 of file class.ilERPDebtor_eco.php.
References ilERPDebtor\$number.
ilERPDebtor_eco::getDebtorGroup | ( | ) |
Definition at line 130 of file class.ilERPDebtor_eco.php.
ilERPDebtor_eco::getInvoicePDF | ( | $v | ) |
handle
Definition at line 248 of file class.ilERPDebtor_eco.php.
|
private |
Definition at line 229 of file class.ilERPDebtor_eco.php.
Referenced by createInvoiceLine().
ilERPDebtor_eco::setDebtorGroup | ( | $number = 1 | ) |
Definition at line 76 of file class.ilERPDebtor_eco.php.
References ilERPDebtor\$number.
Referenced by createDebtor().
ilERPDebtor_eco::setEAN | ( | $ean | ) |
Set EAN number on debtor.
Return true if success
Definition at line 140 of file class.ilERPDebtor_eco.php.
References ilERPDebtor\$ean.
|
private |
Definition at line 39 of file class.ilERPDebtor_eco.php.
|
private |
Definition at line 40 of file class.ilERPDebtor_eco.php.
|
private |
Definition at line 38 of file class.ilERPDebtor_eco.php.