Kirill Solomko
082eb9edae
MT#14675 ossbss removal
...
- generate_invoices.pl uses /etc/ngcp-panel/logging.conf
- merged logging.conf from ossbss
- added liblog-dispatch-perl dependency from ossbss
Change-Id: I016980fc147ade85ea4a72436b662e8c54338eae
9 years ago
Irina Peshinskaya
6c62894b8c
MT#17415 Remove using experimental feature of the perl
...
Change-Id: I01c7da828803647853f9a70108f18ffeda04f858
9 years ago
Irina Peshinskaya
c1393b8dd8
MT#15367 Fix invoice generation
...
Change-Id: I57139f01df54b8f0a80b547e2cbc826aecd11c97
10 years ago
Irina Peshinskaya
49ac6abfe7
MT#14253 Disable invoice generation by default
...
Change-Id: Ia2818910be88b34e8fee1338797b5b7da4bd3b05
10 years ago
Irina Peshinskaya
ae43bec5f0
MT#5879 Document resend and regenerate options in the inv. gen. script
...
Change-Id: I829142177696f338d86cfaebeee113780bdc7c66
10 years ago
Irina Peshinskaya
d6439b78a3
MT#5879 Fix invoice generation script location in the embedded doc
...
Change-Id: Ic0717c07996fba4ffa2613fe036dfe0ea0339009
10 years ago
Irka
b0247dae62
MT#5879 Fix manual page and fix using centralised config in generator
11 years ago
Irka
a96fbdbb5e
MT#5879 Save own parsing of config.
11 years ago
Irka
52cc8532a3
MT#5879 Fix for contacts without contract.
11 years ago
Irka
6bcca230fc
MT#5879 Fix UTF-8 email send. Further fix of memory usage issue.
...
(cherry picked from commit 0610d530113fc23e229f36b3be847a409cf8bc04)
11 years ago
Irka
a393853e65
MT#5879 Fix memory issue
...
Don't save or fetch data for all generated/sent invoices.
Fetch data one-by-one.
11 years ago
Irka
54b7f0cac6
MT#5879 Fix billing_mapping logic, use the latest one as actual.
...
(cherry picked from commit b90be26a2e6fad716c131640db2fd03c040084af)
11 years ago
Irka
a36a835749
MT#5879 Allow to skip empty invoices generation with option no_empty.
...
(cherry picked from commit ae8515d6024df6ac01140a1fd15f209fbcdab33c)
11 years ago
Irka
ee3e73d7e1
MT#8433 Fix of option ttreatment in newest version.
11 years ago
Irka
fda891a70c
MT#8433 Remove debug
11 years ago
Irka
8174c1fea6
MT#8433 Process unrated calls.
11 years ago
Irka
5b487eac1a
MT#5879 Changes allows run invoice generation script on the 3.3 DB versions.
11 years ago
Irka
d525e4c8dc
MT#8433 Update contract_balances data during invoices mass generation.
11 years ago
Irka
f2e983db25
MT#8401 Use common invoice data preprocessing for generation script.
11 years ago
Irka
068e71acfa
MT#8401 Add missed library for invoice data sanitize as XML.
11 years ago
Irka
f7e65e2423
MT#5879 Not all characters should be quoted
...
(cherry picked from commit 1a1362db7e
)
11 years ago
Irka
d9d85a5db0
MT#5879 Fix generation for ampersands;
...
(cherry picked from commit 00c4306088
)
Conflicts:
share/tools/generate_invoices.pl
11 years ago
Irka
22ab88e1d4
MT#5879 generate_invoices changes according to is_active flag removal.
...
Relative to changes 18b86b3ffd
MT#5879 Remove template active as logic changed to
invoice per customer.
Is prepared to work with config from templates.
11 years ago
Irka
47696b5811
MT#5879 Make possible to restart generate_invoices.
11 years ago
Irina Peshinskaya
95bfec3796
MT#5879 Default content on template creation and x- mimetype.
...
Store default template content on template creation.
Replace image/x-mimetype with image/mimetype to fix PDF generation.
11 years ago
Irina Peshinskaya
7f14a3efd6
MT#5879 Make email invoices query simplier.
...
Remove redundant link through contract_balances to contracts.
Process customer email template and add month and year into invoice data.
11 years ago
Irina Peshinskaya
24076295db
MT#7867 Invoice template per customer.
...
(cherry picked from commit 025cafed56ea87fb70e1f543f9baa442f57065d5)
11 years ago
Irina Peshinskaya
da71415239
MT#5879 Default content on template creation and x- mimetype.
...
Store default template content on template creation.
Replace image/x-mimetype with image/mimetype to fix PDF generation.
11 years ago
Irina Peshinskaya
9ca0ddc7bb
MT#5879 Return utf usage for mysql after merge.
11 years ago
Irina Peshinskaya
d8fe5111f8
MT#5879 Use log4perl for logging.
...
And added option allow_terminated to allow to generate invoice
for customers with terminated contracts.
Conflicts:
share/tools/generate_invoices.pl
Solved.
Cherry-picked from 030f227d57d795078fba709a615fd8441a42513d
11 years ago
Andreas Granig
cbce5d0795
MT#7803 Fix UTF8 handling in invoice generation
11 years ago
Andreas Granig
dfd4f663be
MT#5879 Make generate_invoices.pl executable.
11 years ago
Andreas Granig
fae332191a
MT#5879 Include Countries.pm before Sipwise::Base.
...
Otherwise we get UTF8 issues on panel startup.
11 years ago
Irina Peshinskaya
ee061433ce
MT#5879 Make email invoices query simplier.
...
Remove redundant link through contract_balances to contracts.
11 years ago
Irina Peshinskaya
33d3d45ae4
MT#5879 Add prevmonth option to ease prev month invoices generation.
...
Additionally to strict stime and etime.
11 years ago
Irina Peshinskaya
2f67a948ac
MT#5879 Contract buttons and generate_invoice.
...
Remove contract buttons from Reseller form work. Fix generate_invoice
error found in run on clean new vm.
11 years ago
Irina Peshinskaya
a743cbedf7
MT#5879 Change test email contact to real.
...
Todo: make it optional.
11 years ago
Irina Peshinskaya
17d6ed5e7c
MT#5879 Send one email per contract.
...
And adapt letter variables to default template.
11 years ago
Irina Peshinskaya
3a3343744b
MT#5879 Don't regenerate invoices. Just create new.
11 years ago
Irina Peshinskaya
a72adaea52
MT#5879 Invoice generation fixes.
...
Use correct name for zone fees cost.
Fix condition for char column in script.
Add root element to xml before XPath parsing to avoid errors about
the same elements on root level.
Set timezone to local. Maybe it shouldn't be, but then should be changed
in both used methods.
Todo:
Country name for generation from web.
Clarify and implement if neccessary generation of existing invoice from web.
Now invoice for the same period created.
11 years ago
Irina Peshinskaya
9965197657
MT#5879 Fix invoice date insertion in DB
11 years ago
Irina Peshinskaya
91608dc073
MT#5879 Fixes for invoice data - format was for old template.
...
And also fix for customer contract id option.
11 years ago
Irina Peshinskaya
636ebe26cf
MT#5879 Fix invoices amount, related to cents.
11 years ago
Irina Peshinskaya
aa3fd246b6
MT#5879 Add date values for fix for invoice.serial unique index.
11 years ago
Irina Peshinskaya
a050e6777e
MT#5879 Fix for invoices.serial unique index
11 years ago
Irina Peshinskaya
006d6241e2
MT#5879 Generate and/or send invoices script. Seems as working.
...
Testing is in progress.
11 years ago
Irina Peshinskaya
2af11b65e8
MT#5879 Invoices generated and emails sent, work with option.
...
Date options for month period - contract balance select doesn't
work. TZ?
11 years ago
Irina Peshinskaya
c60c9af216
MT#5879 Error in not inflated date values.
...
But other seems as working.
11 years ago
Irina Peshinskaya
a30237b89e
MT#5879 Add country to client contact info in invoice gen. script.
11 years ago
Irina Peshinskaya
17f678dee2
MT#5879 Separate invoice generation from sending and some fixes.
...
Commit:
Separate invoice generation and sending, although still can be
together id options tell.
Remove dev method call, which made invoice list broken.
Some little format changes.
Todo:
Add country_name into invoice generation script.
Care about email template correct process vars.
11 years ago