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
Gerhard Jungwirth
b7eb095540
MT#7791 Manage Callthrough CLIs in Panel
11 years ago
Irka
c66c0a06a7
MT#8353 Give possibility to manage money signs after comma in template.
...
(cherry picked from commit 92706efe775e55494a92e3b384776bcf5539b6d4)
11 years ago
Irka
e544dc4f07
MT#7867 Use geo to place xml string for inter-layer elem movements
11 years ago
Irka
146a7ef354
MT#7867 Add xml element among others by position.
...
Only y (vertical) position is used now.
No reordering on element movement.
Unit version is under testing.
11 years ago
Irka
47696b5811
MT#5879 Make possible to restart generate_invoices.
11 years ago
Irka
93bee5bf6f
MT#5879 Fix multi-undo functionality.
...
Call setCurrentLayer => draw.setCurrentLayer only on initialization stages.
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
Irka
b2f21dd777
MT#7861 Use pixels as main unit to be in accordance with svg-edit.
...
(cherry picked from commit bdd8562fb0ee0a98cb1296822fa1e211fa0d8c5f)
11 years ago
Gerhard Jungwirth
135d48e84a
MT#8015 de translation, some more strings
...
and fix a bug, where empty string gets translated, this returns wrong results
11 years ago
Irina Peshinskaya
24076295db
MT#7867 Invoice template per customer.
...
(cherry picked from commit 025cafed56ea87fb70e1f543f9baa442f57065d5)
11 years ago
Irina Peshinskaya
4505cef06b
MT#7867 Fix link to customer/edit for customer in resellers details.
...
(cherry picked from commit f9277fd65070911082c8fa9326185c4aa1336a01)
11 years ago
Alexander Lutay
cad32bcb4b
MT#8013 Localization typo fix 's/]created/] created/'
11 years ago
Irina Peshinskaya
16ebb908a8
MT#5879 Hide g elements in comments.
...
(cherry picked from commit 7388a2bdb7e70feaa4e63774c307e4f14069c4f1)
11 years ago
Irina Peshinskaya
dd06b7fce4
MT#7867 Repeat behavior of embedded image on "Change Image" button.
...
Also added functionality to convert link to embed image, but it
doesn't work on cross-domain links.
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
Irina Peshinskaya
29edbf2450
MT#5879 Tspan replaced with text
...
Y coordinates adjusted, but generation not tested yet.
11 years ago
Andreas Granig
0d577b3490
MT#7935 Show callid, cost and link to callmap.
...
In call history of a subscriber, link to callmap, and show the
call-id and source customer cost in case of admin/reseller.
11 years ago
Gerhard Jungwirth
51aa065d94
MT#7713 hide Auto Attendant menu for non-pbx subscribers
11 years ago
Andreas Granig
b0491942f5
MT#6693 Handle pseudo-preferences for subprofs.
...
Certain preferences (speeddial, voicemail, faxserver etc) are not
really preferences, but are handled specially on the preferences
page. Introduce special preferences for them to be able to select
them when defining subscriber profiles, and filter them on the
preferences page of the csc.
11 years ago
Gerhard Jungwirth
41416d2d10
MT#7843 change svg template to new vat variables
...
new ones are: customer.vat_rate and customer.add_vat
11 years ago
Gerhard Jungwirth
6dd1562252
MT#7841 API callforwards: improve documentation examples
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
Alexander Lutay
97b9185d69
MT#6425 Typo: restored space (caused to missed localization)
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
Andreas Granig
a47147fe89
MT#7755 Don't show create button for subprofset
...
If disabled by config for resellers to create profile sets, don't
show a create button for profile sets.
11 years ago
Andreas Granig
f41626e521
MT#7545 Allow multiple pbx groups per subscriber
11 years ago
Andreas Granig
390a18b69b
MT#7655 Fix access perms for sub(admin) in prefs
...
Certain preferences (those meta-prefs not coming from the prefs
table, like voicemail, fax2mail, aa, speeddial) had wrong access
fencing, preventing sub(admins) to edit them.
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
Andreas Granig
ac736caa00
MT#7495 Allow subadmin to configure contract prefs
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
Andreas Granig
6ec99075ca
MT#7471 Implement web and api for contract prefs.
11 years ago
Andreas Granig
dce655b146
MT#5103 Set current day in call dist graph.
...
By default, use current day instead of hardcoded date.
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
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
5cbb82747a
MT#5879 Align invoice template to clean db schema
11 years ago
Andreas Granig
7fa163d0de
MT#5879 Realign default invoice template elements.
11 years ago
Andreas Granig
02e58b0360
MT#5879 Completely redo invoice template handling.
...
Use a more clean default template.
Properly render page numbers.
Cleanup cleanup cleanup.
11 years ago
Andreas Granig
cf58b778ee
MT#5879 Invoice template translation.
11 years ago
Andreas Granig
807e77855d
MT#5879 Rework dummy variable handling for invoice
11 years ago
Andreas Granig
fa07184a46
MT#5879 Rework rendering PDF preview.
11 years ago
Andreas Granig
fdde82379b
MT#5879 Store invoice templates on save.
11 years ago
Andreas Granig
a88724c0c4
MT#5879 Cleanup invoice template editing. WIP.
...
Fetching default template from file works.
TBD: saving, viewing from saved, previewing PDF.
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
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
fef6ea95c7
MT#5879 New template. Title pages is topic for questions.
11 years ago
Irina Peshinskaya
74e535d730
MT#5879 Save template before remove old zonepage.
11 years ago
Irina Peshinskaya
9154510f7c
MT#5879 New template xml error, save before jump into investigation.
11 years ago
Irina Peshinskaya
45b475327b
MT#5879 Save state before start geography implementation
11 years ago
Irina Peshinskaya
044c9ca46b
MT#5879 Add second page as title. Keep in pixels.
...
Todo: format second page.
11 years ago
Irina Peshinskaya
2005908933
MT#5879 Save template variant with sizes in pixels.
11 years ago
Irina Peshinskaya
44c706dab7
MT#5879 Save new template before matrix reverted.
11 years ago
Irina Peshinskaya
a50feeb8cf
MT#5879 Initial state of new template
11 years ago
Irina Peshinskaya
6b720ecd83
MT#5879 Add svg template variables description.
11 years ago
Irina Peshinskaya
603a25830d
MT#5879 Reformat code and init math values to zero.
11 years ago
Gerhard Jungwirth
7ee9aa3f7a
MT#7183 show confirmation dialog on all languages
...
Show the dialog on "Terminate" and "Delete" buttons.
11 years ago
Andreas Granig
601ada23bd
MT#7233 Implement basic number block CRUD.
11 years ago
Andreas Granig
be983fb9dd
MT#7219 API: document http errors of rest api.
11 years ago
Irina Peshinskaya
bcab8bf2a0
MT#5879 Fix delete button for invoices
11 years ago
Irina Peshinskaya
f1fcf84547
MT#5879 Fix delete button
11 years ago
Irina Peshinskaya
ca7e7a6f0c
MT#5879 Small fixes for list refreshed after ajax form.
...
Script changes aren't relevant, but are useful.
List template changes are enough to fix the error.
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
59b932b9a4
MT#5879 Form with datatable field for one page app.
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
b6361e6cf3
MT#5879 Default for datepicker
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
cdd05a1df1
MT#5879 Delete works
...
Left:
resend invoice to email form
separated interface for generation without filter by filter by contact/contract id
Known issues:
tooltip makes table to flick. But not on the last button in column.
seems like fnDraw takes data from localstorage - although invoice deleted -
it is still shown in datatables.
11 years ago
Irina Peshinskaya
70ae0c01c9
MT#5879 Invoice deletion draft
11 years ago
Irina Peshinskaya
4494b13c6e
MT#5879 Intermediate state before start datepeacker field.
11 years ago
Irina Peshinskaya
6c4f2e7d2b
MT#5879 Web generation is working.
...
For further testing and improvements.
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
10100ee245
MT#5879 Add clear filter tooltip.
...
Tooltip on not last buttons makes markup broken on hover. Todo.
s
11 years ago
Irina Peshinskaya
ba04a20c70
MT#5879 Save intermediate state.
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
2fbc3dd85f
MT#5879 Save state before adding from-to search to invoices.
11 years ago
Irina Peshinskaya
ebd4a412e6
MT#5879 Format invoice list. Just save state.
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
bde7cc02e6
MT#5879 Put PDF to DB.
11 years ago
Irina Peshinskaya
d5c2b33a0c
MT#5879 Use total from pages
11 years ago
Irina Peshinskaya
0d39395842
MT#5879 Script to generate invoices from templates.
11 years ago
Irina Peshinskaya
891a4c52fa
MT#5879 Replace buttons a little.
11 years ago
Irina Peshinskaya
c96e6865e7
MT5879 Remove debug red border
11 years ago
Irina Peshinskaya
c6d91d7c8f
MT#5879 Remove exrescent buttons.
11 years ago
Irina Peshinskaya
99edada339
MT#5879 And fake invoice data into aux template too.
11 years ago
Irina Peshinskaya
00a0e08054
MT#5879 Add forgotten svg markup comments.
11 years ago
Irina Peshinskaya
fac20f351b
MT#5879 Fake invoice template preview data.
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
2c3413392d
MT#59879 Unify interface template names.
11 years ago
Irina Peshinskaya
1072f02e84
MT#5879 Separate template and invoice.
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
Irina Peshinskaya
cf0acb0657
MT#5879 Show total.
11 years ago
Irina Peshinskaya
e9a88a5ef2
MT#5879 Save templates state. Total isn't shown.
...
Added bars after records titles and before total.
Implemented other row components position ajustment.
@. Total only on last page.
11 years ago
Irina Peshinskaya
dbf2b5414a
MT#5879 Templates alignments.
11 years ago
Irina Peshinskaya
5e30919042
MT#5879 Draft of calls pages in template
...
1. Add calls templates, data methods.
2. Complete new invoices look.
3. Remove php files from svg edit
11 years ago
Irina Peshinskaya
e9083ac5b2
MT#5879 Fix datatables (wasn't commited, default template
11 years ago
Irina Peshinskaya
6a63b8405c
MT#5879 Template.
...
Fix datatables for invoice.
11 years ago
Irina Peshinskaya
760e07c8ec
MT#5879 Clear Alerts
...
Attempt to enable edit spans or grouped texts. Seems like all texts should be ungrouped, to be ditable
11 years ago
Irina Peshinskaya
f877c908a6
MT#5879 Save wokring interface, but with alerts.
11 years ago
Irina Peshinskaya
9aa35efdc9
MT#5879 Save state before new default template.
...
Template form shown on click.
Fix accordion intialization after ajax list refresh
Add confirmation on default template applying
11 years ago
Irina Peshinskaya
66376a9934
MT#5879 Well, seems like all template relative info is working now again.
...
What need n this area:
1. How about form "partial" validation - I need different fields checking of the item data for different actions.
2. To make it really DRY I need somehow alias columns in resultset data. Accessors don't work.
11 years ago
Irina Peshinskaya
59b1d7fad6
MT#5879 Intermediate state.
...
Template changes not saved. Separated info form is working, axcept applying renamed fields as form values.
11 years ago
Irina Peshinskaya
135dad02d5
MT#5879 Draft of invoice template movement to reseller.
...
1.Remove curly brackets from svg template
2.Move invoice template templates to their own folder and change pathes accordingly.
3.Move invoice_template functionality to Reseller. maybe should be separated in new Controller.
4.Move InvoiceTemplate form to its own sppace from Customer
11 years ago
Irina Peshinskaya
89e6533d5b
MT#5879 Remove artefacts from datatables vars and make possible deactivate all invoice templates.
11 years ago
Irina Peshinskaya
f6fe84df61
MT#5879 Datatables is shown now for invoice data but search doesn't work. Anyway switch now to invoices generation and will return to datatables later.
...
Done:
1.Form separated for future possible load through ajax.
2.Activity switch in invoice templates table
11 years ago
Irina Peshinskaya
26142a1431
MT#5879 Prevent add back link again and again on applying onload method after ajax tables reload
11 years ago
Irina Peshinskaya
5bbdba5c74
MT#5879 Just remove 2 alerts
11 years ago
Irina Peshinskaya
9228b2c5cc
MT#5879 Well, now we delete, update and add templates almost in order.
11 years ago
Irina Peshinskaya
2d334de084
MT#5879 Apply newly created id to worm to continue work with cretated template.
11 years ago
Irina Peshinskaya
e5932aa005
MT#5879 Adapt confirmation layer to ajax loaded data => close on confirm (anyway it disappeared on confirmation as new page loaded in usual case) and apply javascript href to onclick. Don't apply back to javascript hrefs.
11 years ago
Irina Peshinskaya
4cdaa3199b
MT#5879 Fix double encoded template string for saving, adapted deletion confirmation to ajax loaded listing
11 years ago
Irina Peshinskaya
bc0ce4bee0
MT#5879 Loading of template data to form and to server in progress. Other left: confirm on deletion )href is not used, would be good to implement using datatables at least for invoice data, and use dynamic invoice data for online generation.
...
svg-edit: would be very nice to implement editing of rows amount and text in text boxes, and as a very cool feature - applying styles. But next step will be cron.
11 years ago
Irina Peshinskaya
174367338b
MT#5879 Save state before switch to jsson getting of template info
11 years ago
Irina Peshinskaya
bf5d8ccf66
MT#5879 Save intermediate state with solutions which are going to be removed.
11 years ago
Irina Peshinskaya
805e9ee194
MT#5879 Save a lot of commented rows related to initial zoom before delete them
11 years ago
Irina Peshinskaya
eab4aa6a0d
MT#5879 Fix total location
11 years ago
Irina Peshinskaya
db24de1c0d
MT#5879
...
1. Complete embedding bitmap images
2. Change Work with layers - always show currently selecetd, apply initial display to others. Select first on start automatically.
3. Change preview work to fetch from server scheme, to enable preview in Explorer. Maybe should be applied only to Explorer?
11 years ago
Irina Peshinskaya
c966c842de
MT#5879
...
Some drafts:
1. Configure embeding bit-map images in svg-edit
2. Remove zooming on mousewheel in svg-edit
3. Configure svg-edit a little to make interface not such full of features. Added main-button - not hided now. maybe should be?
4. Found lost </iframe> - fixed styling and javascript in invoice interface
5. Separate templates list in new template to enable ajax loading after deletion and active selection. Added different buttons )
And other small fixes and changes
11 years ago