Rene Krenn
c378681a24
MT#13903 balance interval catchup and resize WIP
...
+ synchronized contract balance catchup
+ balance interval resizing upon profile package transitions
+ dynamic interval length, interval start, carry-over propagation, ..
+ end-of-month 'preserve' mode correction for strictly aligned month intervals for start_mode=customer "create" timestamp
+ new api/balanceintervals resource to inspect contracts' balance interval histories
+ updated affected panel UI controllers
+ test case with time warps using Time::Fake
caveats:
- creating an invoice for a given 'period' (month) has to be refactored to select a disitnct balance interval. right now it takes the last interval in the month specified.
- generate_invoice.pl is broken and needs a major refactoring
Change-Id: I7bb54a83b76e510b1baa573a986d05400a7fec1e
10 years ago
Irina Peshinskaya
78cf4f1e93
MT#11009 Form->params => form->values
...
Change-Id: I22fba4d3c5f6cdfb774d2106a867563d0d2f8c74
10 years ago
Kirill Solomko
2bebc00548
MT#7705 - Add logging for the rest of Controller/* modules. Message.pm: add data size check and trim the value if > 500 length
11 years ago
Irka
c43ccd7c5d
MT#8401 Invoce data preprocessing.
11 years ago
Gerhard Jungwirth
309b5ab069
MT#8015 update de translation
11 years ago
Andreas Granig
14a629f4aa
MT#7803 Add invoice links and sections.
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
3ee4f3e61d
MT#5879 Implement countr name in controller.
11 years ago
Irina Peshinskaya
1ab3500062
MT#5879 Us common invoice logic for invoice amouns. Add country name.
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
636ebe26cf
MT#5879 Fix invoices amount, related to cents.
11 years ago
Irina Peshinskaya
a050e6777e
MT#5879 Fix for invoices.serial unique index
11 years ago
Andreas Granig
69e20a8629
MT#7377 API: fix alias_numbers and pbx_extension
...
Properly handle alias_numbers and pbx_extension fields when
creating or updating a subscriber.
11 years ago
Andreas Granig
9679565f50
MT#5879 Fetch call list for invoices. WIP.
11 years ago
Andreas Granig
98364a891b
MT#5879 Rework VAT handling in invoices.
11 years ago
Andreas Granig
12fec06a68
MT#5879 Making invoice creation work w/ real data
...
Costs etc are still wrong, but we'r getting somewhere.
11 years ago
Andreas Granig
b827f73ab4
MT#5879 PoC of generating invoice out of template
...
Rework zone fee handling.
Implement invoice creation (WIP) - still real template data missing.
11 years ago
Andreas Granig
b6533b1a1f
MT#5879 Redesign invoice template meta handling.
...
Properly handle create/update/delete of template meta info.
11 years ago
Andreas Granig
2d49153102
MT#5879 Fix redirect chain and utf8 handling.
11 years ago
Irina Peshinskaya
6b0cd3b3a7
MT#5879 Fix broken billing_profile variable scope.
...
And add bp as documented var. Should be changed to lorem based later.
11 years ago
Irina Peshinskaya
c86a8a04cb
MT#5879 Add billing profile object to default and data for generation.
...
And fix page numbers.
11 years ago
Irina Peshinskaya
05f54645c8
MT#5879 Some small changes of big buttons
11 years ago
Irina Peshinskaya
ab6414c589
MT#5879 Rename clients to customers.
...
And show message about updated invoice template.
11 years ago
Irina Peshinskaya
63c52f3180
MT#5879 Changes according to Andreas letter.
11 years ago
Irina Peshinskaya
088ca06ea7
MT#5879 Fix invoice deletion after conditional fields.
11 years ago
Irina Peshinskaya
410ec47909
MT#5879 Commented out client list frm invoices list interface.
11 years ago
Irina Peshinskaya
7465db49d4
MT#5879 Send invoice to email functionality draft.
...
Todo:
Add invoice email into db. Send email functionality.
Conditional fields in HFH.
Expand accordions on demand.
11 years ago
Irina Peshinskaya
59b7028055
MT#5879 Form with datatable field for one page app.
11 years ago
Irina Peshinskaya
f9d0ac1bd8
MT#5879 Save state before alternative interface.
11 years ago
Irina Peshinskaya
4dc64f5853
MT#5879 Attempt to fix invoice/template
...
Also configuration of cancel button on confirm modal.
Fix contract-balance getting.
Fix page numbers in generated invoice.
11 years ago
Irina Peshinskaya
4a1b5c005e
MT#5879 Few small fixes of some some already fixed errors.
...
Some small fixes which should make behavior much more clear.
I already did some of them them today, but seems like lost somwhow.
11 years ago
Irina Peshinskaya
70ae0c01c9
MT#5879 Invoice deletion draft
11 years ago
Irina Peshinskaya
8db8a16f7f
MT#5879 Clean up queries a little.
11 years ago
Irina Peshinskaya
fb2ac0dc9a
MT#5879 Ajax form works
11 years ago
Irina Peshinskaya
6c4f2e7d2b
MT#5879 Web generation is working.
...
For further testing and improvements.
11 years ago
Irina Peshinskaya
d22ade4c4e
MT#5879 Generation from web: not tested yet.
11 years ago
Irina Peshinskaya
c1d5983c71
MT#5879 Forgot to save proper changes in controller.
11 years ago
Irina Peshinskaya
83db5c1b93
MT#5879 Multiple attachments and further web generation.
11 years ago
Irina Peshinskaya
5f0c59d3a7
MT#5879 InvoiceGeneration through web.
...
Todo: Send all contact->contracts invoices in one email from cli script.
Review invoice client ID - it should be contract Id, not contact Id
Review invoice data gathering
Complete generation
11 years ago
Irina Peshinskaya
7ab5ab3c85
MT#5879 Filter invoices by client. Generate form.
...
Left to do:
fix filtering by date, if field isn't a eppoch
generation
mark selected client in clients list. add big button to clear client selection
11 years ago
Irina Peshinskaya
f1faaeaf95
MT#5879 Commit doesn't work. Half of form rename.
11 years ago
Irina Peshinskaya
2fbc3dd85f
MT#5879 Save state before adding from-to search to invoices.
11 years ago
Irina Peshinskaya
c39d6a92a8
MT#5879 View invoices
11 years ago
Irina Peshinskaya
1fd67eb308
MT#5879 Send invoices via email.
...
Text of the message should be conformed with sales. Also it would be nice to apply templates to email body.
Only smarthost is working, spent 3 hours with exim debug and while left with smarthost. Attachments and so one looks good.
Removed fake data.
Fix data parameter. Tested data and client contracts.
11 years ago
Irina Peshinskaya
0d39395842
MT#5879 Script to generate invoices from templates.
11 years ago
Irina Peshinskaya
1659af9ca8
MT#5879 Save calls queries.
...
Stopped on clients conditions.
11 years ago
Irina Peshinskaya
96bb4cb5b8
MT#5879 Use get_contract_rs as clients list sub.
...
To be replaced by direct query.
11 years ago
Irina Peshinskaya
7720d53bb1
MT#5879 Separate invoice and invoice template interfaces.
11 years ago
Irina Peshinskaya
d87e6b297b
MT#5879 Replace invoices to separated controller.
...
CRLF windows git makes issues with on VM run. Some files were converted manually.
11 years ago