1) Sending Invoice as Email through admin UI problem:
http://localhost/A2Billing_UI/A2B_entit ... ice_type=2
Result (when click on email icon of invoice page): "Successfully sent email to ."
Note: No recipient listed.
Email gets sent, shows attachment symbol in email client, but there is NO CONTENT (text, message, attachment, or otherwise) received in the email, and the email format does not look to be correct, e.g. the structure of the email sent is not an appropriate format.
Here's a copy of part of the email message source:
... Other Header Info - not important ...
To:
[email protected]
Subject: INVOICE
From:
[email protected]
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="==Multipart_Boundary_xf71e9a6c789cea936d60cd266d238355x"
Mime-Version: 1.0
Content-Transfer-Encoding: BASE64
Message-Id: <
[email protected]>
Date: Wed, 26 Nov 2008 16:28:27 -0800 (PST)
X-Evolution-Source:
imap://BLAHBLAHBLAH
DdXN0b21lciwNCg0KUGxlYXNlIHNlZSB0aGUgYXR0YWNoZWQgZmlsZSBmb3IgeW91ciBp
bnZvaWNlIGZvciBlQ29ycFN5cyBzZXJ2aWNlcy4NCg0KS2luZCBSZWdhcmRzLA0KZUNvcnBTeXMg
QmlsbGluZ1RoaXMgaXMgYSBtdWx0aS1wYXJ0IG1lc3NhZ2UgaW4gTUlNRSBmb3JtYXQuCgotLT09
TXVsdGlwYXJ0X0JvdW5kYXJ5X3hmNzFlOWE2Yzc4OWNlYTkzNmQ2MGNkMjY2ZDIzODM1NXgKQ29u
dGVudC1UeXBlOnRleHQvaHRtbDsgY2hhcnNldD0iaXNvLTg4NTktMSIKQ29udGVudC1UcmFuc2Zl
...
...
ci1FbmNvZGluZzogN2JiBiYXNlNjQKCkpWQkVSaTB4TGpNS015QXdJRzlpYWdvTURBeE5UYzNJREF3TURBd0lHNGdDakF3TURBd01E
RTINCk56TWdNREF3TURBZ2JpQUtNREF3TURBd01UYzNOQ0F3TURBd01DQnVJQW93TURBd01EQXhP
VGcySURBd01EQXdJRzRnQ2pBd01EQXcNCk1ESXhNVEFnTURBd01EQWdiaUFLZEhKaGFXeGxjZ284
UEFvdlUybDZaU0F4TUFvdlVtOXZkQ0E1SURBZ1Vnb3ZTVzVtYnlBNElEQWcNClVnbytQZ3B6ZEdG
eWRIaHlaV1lLTWpJMU5nb2xKVVZQUmdvPQ0KCgotLT09TXVsdGlwYXJ0X0JvdW5kYXJ5X3hmNzFl
OWE2Yzc4OWNlYTkzNmQ2MGNk
--==Multipart_Boundary_xf71e9a6c789cea936d60cd266d238355x--
2) pdf current invoice in customer UI - view invoices, select specific invoice page:
http://localhost/A2B_CustomerUI/A2B_ent ... ice_type=2
Click on pdf icon, prompts to save a file called "Unbilled_XXXXX.pdf"
a) the pdf file is very small ~87 bytes and can not open as is reported as a non-readable format when trying to open
b) the pdf is named "Unbilled_xxxxxx.pdf", why? I am currently viewing a specific already billed invoice. A pdf icon on this page should give me a pdf of the invoice I am viewing, not an invoice for unbilled activity (since I am on a specific billed invoice page).
** Note that the generic pdf export (not coinciding with invoices) seems to work fine.
http://localhost/voip/A2B_entity_call_d ... ?section=4
Also note that this is not a replacement for the previous pdf problems as the ability to view and pdf a specific billed invoice is CRUCIAL, whereas this page that works exports billing information and is not in sync with the invoice dates/info, which is as described a more important issue.
3) current invoice not always showing extra charges info (e.g. service charge and fees).
It does not appear that the invoice is showing the service charge fees. I did get it to appear on one out of 10 invoices so far -> strange behavior. Is there a problem if cront job for batchprocess and subscripton fee occur on same day just before the invoice gets created? I.e. do the recurring service and subscription need to run on a different day? Or is this another bug?
BTW, The charges WERE applied correctly and the customer balances reflect the charges. The problem is that they do not show up on the invoice and this has the effect of the customers balance mysteriously decreasing since no record of the charge exists on their invoice.
4) Invoice does not appear to cusotmer until sent as email in admin UI
The invoice does not appear in Customer UI -> view invoices, until the invoice is sent as an email (which as previously described, does not work). Note: Invoice was created from cront job for:
php /var/lib/asterisk/agi-bin/libs_a2billing/crontjob/a2billing_invoice_cront.php
Upon further examination, I found out that the corn job does not put an entry into cc_invoice_history table, which BTW is required for an invoice to appear in a customer's view invoice screen/page. Note: sending an invoice as email in the admin UI does insert an invoice entry into the cc_invoice_history table (again the email does not work, and why would I be required to send an email in order for the customer to be able to view an invoice that already exists?).
I consider all of these issues serious as they are critical to the basic operation of this SW. Please let me know if you need any more information to help troubleshoot/test regarding these issues.
Thanks
Setup:
a2b version: branch/1.3 (1.3.4+)
db: postgres 8.3