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
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
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
bf5d8ccf66
MT#5879 Save intermediate state with solutions which are going to be removed.
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
Irina Peshinskaya
ed6861b597
MT#5879 Use identifier for datatables helper initialization.
11 years ago
Irina Peshinskaya
3e557152bc
MT#5879 Separate actions for invoice templates. Saving and view should be separated too. Rename ttemplates: calls to invoice and "template" according to content.
11 years ago
Irina Peshinskaya
6fdd7d43ab
MT#5879 Save intermediate state with separation of invoice_template logic for further usage in admin and customer areas.
11 years ago
Irina Peshinskaya
7f6ce297b4
MT#5879 Generation of pdf while through system. Image::RSVGlib in plans. Games with fonts - attention, svg template contain fon inside now. Will be removed.
11 years ago
Irina Peshinskaya
4fdee6478b
MT#5879 Mainly template changes to generate multipage document. now is generated, but with errors. Added rows as allowed attribute for <g. Additional changes for fake calls rows = with row numbers/
11 years ago
Irina Peshinskaya
44e61d95f6
MT#5879 commented out data, faked for multipage document
11 years ago
Irina Peshinskaya
d36699c10e
MT#5879 Pages generated by template Toolkit first version
11 years ago
Irina Peshinskaya
53f5c06257
MT#5879 Start with PDF::WebKit
11 years ago
Irina Peshinskaya
04987fcb5f
MT#5879 Sub validate in InvoiceTemplate form doesn't work. Start of PDF generation.
11 years ago
Irina Peshinskaya
f45e5f6ada
MT#5879 Customer.pm wasn't saved.
11 years ago
Irina Peshinskaya
a912f1fc49
MT#5879 Well, customer can save his invoice. He can't delete. But he can rewrite from default now. But specification of using default (and as action - deletion of his template - is necessary).
11 years ago
Irina Peshinskaya
4f19965240
MT#5879 Separated Model DB actions. Time spent with FormHandler and Catalyst::Adaptor.
11 years ago
Irina Peshinskaya
7c3a045ddc
MT#5879 Save some intermediate state. Started to implement fields checks, format a little calls.tt.
11 years ago
Irina Peshinskaya
6e743ae818
MT#5879 Generation of pdf while through system. Image::RSVGlib in plans. Games with fonts - attention, svg template contain fon inside now. Will be removed.
11 years ago
Irina Peshinskaya
d8a55f5909
MT#5879 Mainly template changes to generate multipage document. now is generated, but with errors. Added rows as allowed attribute for <g. Additional changes for fake calls rows = with row numbers/
11 years ago
Irina Peshinskaya
f5dc2028f7
MT#5879 commented out data, faked for multipage document
11 years ago
Irina Peshinskaya
54c02e384d
MT#5879 Pages generated by template Toolkit first version
11 years ago
Irina Peshinskaya
21e2f2b38f
MT#5879 Start with PDF::WebKit
11 years ago
Irina Peshinskaya
bb69a3ef5f
MT#5879 Sub validate in InvoiceTemplate form doesn't work. Start of PDF generation.
11 years ago
Irina Peshinskaya
3e537588ee
MT#5879 Customer.pm wasn't saved.
11 years ago
Irina Peshinskaya
d814805244
MT#5879 Well, customer can save his invoice. He can't delete. But he can rewrite from default now. But specification of using default (and as action - deletion of his template - is necessary).
11 years ago
Irina Peshinskaya
468420909d
MT#5879 Separated Model DB actions. Time spent with FormHandler and Catalyst::Adaptor.
11 years ago
Irina Peshinskaya
a1cf4235ef
MT#5879 Save some intermediate state. Started to implement fields checks, format a little calls.tt.
11 years ago
Irka
792b6a5328
MT#5879 Now Preview works correct. Time to implement saving passed template.
11 years ago
Irka
0622c959eb
MT#5879 Very basic logic without storing to db. But seems as will be able to make it generic against template types.
11 years ago
Irka
50b89773da
Save state with incorrect, but fast svg template apply
11 years ago
Andreas Granig
df9d103893
MT#6827 Deprecate linerange_num field.
...
In hind-sight, this field appears like an ugly hack to determine
the proper line range in the aaData array fetched via ajax. However,
we already have the correct range_id, and using the index of the aaData
has so many possible side effects to break everything, that I'm wondering
what I was thinking when adding it :p
11 years ago
Andreas Granig
aaac4b6415
MT#7067 API: Implement sound set handling.
11 years ago
Andreas Granig
f96f08f706
MT#4967 clean up moving alias numbers.
...
Also allow admin/reseller to move numbers.
11 years ago
Andreas Granig
b95daedc79
MT#6967 Alias range handling and first sub cleanup
11 years ago
Gerhard Jungwirth
438fba5855
MT#6827 fix missing data in customer details
11 years ago
Andreas Granig
1e235bef44
MT#6789 Fix empty string as email template id.
...
Causes creating customers to fail.
11 years ago
Andreas Granig
4341a39cf6
MT#6871 Fix subscriber editing.
...
- Migrate from custom subscriber struct to normal resultset.
- Properly handle boolean input in form processing (convert to
int, otherwise formhandler fails while cloning when doing the
processing).
- Properly handle profile set editing in API
- Cleanup of log messages
11 years ago
Andreas Granig
bf5ec092bb
MT#6789 Add subscriber email and password recovery
...
- subscribers can hold an email address
- implement process for web password recovery
11 years ago
Andreas Granig
507402c561
MT#6789 Choose email template for customer - WIP
...
Select an email template for subscriber creation and for password reset
when creating or editing a customer.
WIP, not compiling yet by intention.
11 years ago
Andreas Granig
c1307b1cbe
MT#6693 Fix extension creation without profile set
11 years ago
Andreas Granig
a3f944e777
MT#6693 Show extension vs number for customer subs
11 years ago
Andreas Granig
560bf47ab1
MT#6693 Fix PBX group editing.
11 years ago
Andreas Granig
16b44673f4
MT#6693 Rework PBX subscriber/group handling.
11 years ago
Andreas Granig
17d4140b64
MT#6693 Add separate form for subadmin pbx flow.
11 years ago
Irina Peshinskaya
f5b02e48f0
Merge branch 'master' of git.mgm.sipwise.com:ngcp-panel
11 years ago
Irka
3e393f1f5d
MT#5879 Now Preview works correct. Time to implement saving passed template.
11 years ago
Irka
631a069a02
MT#5879 Very basic logic without storing to db. But seems as will be able to make it generic against template types.
11 years ago
Andreas Granig
432080d384
MT#5929 More external_id fixes.
...
Set external_id to NULL in db if it's empty.
Properly clear ext_xxx_id preferences if external_id gets unset.
11 years ago
Andreas Granig
4456bd02e4
MT#5929 Fix ext_subscriber_id handling.
...
When created via customer view, use external_id from form.
11 years ago
Irka
fb891ee0ed
Save state with incorrect, but fast svg template apply
11 years ago
Andreas Granig
74aeb7938d
MT#5929 Fix lock, ext_xxx_id and dbalias handling.
...
- ext_subscriber_id and ext_contract_id preferences weren't populated correctly.
- subscriber lock preference wasn't populated correctly
- old dbalias entries weren't cleared correctly for API calls
11 years ago
Andreas Granig
d508a519c8
MT#3933 API: tighten subscriber creation.
11 years ago
Gerhard Jungwirth
d989abc8f9
MT#3961 Translate everything
12 years ago
Andreas Granig
f31c2fcc88
MT#5661 Update prepaid pref on bilprof change
...
If prepaid flag is changed in billing profile, all subscribers
of all contracts currently having this profile are updated.
If customer changes from prepaid profile to postpaid and vice versa,
all subscribers of this contract are updated.
If subscriber is created either in subscriber or customer view,
the prepaid pref is set if billing profile of its customer is
prepaid.
12 years ago
Gerhard Jungwirth
2ca352cd34
MT#4129 Validate update customer with wrong resellers
...
The reseller of the old billing_profile was tested instead of the new one
(see 4129#c29575)
12 years ago
Andreas Granig
f9e96aad30
MT#4955 Introduce customer default sound sets.
...
If a new contract sound set is marked as contract_default, use this
for every existing subscriber in contract_sound_set prefs if no
other set is specified yet.
If a new subscriber is created and such a sound set exists, also
use this one.
This prevents having to go over each single subscriber to assign
the contract_sound_set preference.
12 years ago
Andreas Granig
76b3e315bb
MT#4543 Also set cloud_pbx_base_cli pref for admin
...
Otherwise rewrite rules where this is used will not work, so admin
can't dial only the extension.
12 years ago
Andrew Pogrebennyk
abc0853521
MT#4863 Grant access to Customer Settings for administrative subscribers.
12 years ago
Andreas Granig
79a256f094
MT#4787 Send browser to PBX device when syncing
12 years ago
Gerhard Jungwirth
35630e125a
MT#4129 fix operator precedence
...
Check for diverging resellers when creating a customer
fails because == is evaluated before //
12 years ago
Gerhard Jungwirth
d17c382ff8
MT#4129 prohibit customer with diverging resellers
...
that is, a customer where billing_profile has one
reseller and contact has a different one
12 years ago
Gerhard Jungwirth
8da8d2f8e8
MT#4659 preserve product, when not set by form
12 years ago
Gerhard Jungwirth
7945805883
MT#4289 contracts: filter by product and separate terminate
...
Only show reseller and peering contracts in the
Contracts controller. Also remove the generic create
in favour of the peering/create and reseller/create.
Customer controller now has its own terminate routine to be really
independent from the Contract controller.
Now we can expose the Contract controller in the menu.
12 years ago
Gerhard Jungwirth
6fb3119fc9
MT#4289 move /contract/customer/edit to /customer/edit
...
So finally, there is no customer-specific stuff left in the Contract controller.
12 years ago
Gerhard Jungwirth
5caf89894c
MT#4289 separate customer-/contract- create and ajax_reseller_filter
...
Mantis: 4289#c25035
12 years ago
Gerhard Jungwirth
104751bb6a
MT#4289 separate customer/ajax and contract/ajax
...
This is the first step towards separating the
tight coupling of the Customer and Contract Controllers.
Mantis: 4289#c25035
12 years ago
Andreas Granig
074758df8f
MT#3971 Implement limitation of subscribers.
...
Enforce max_subscribers field and allow editing a customer.
12 years ago
Andreas Granig
0ab09a6e0b
MT#3977 Use plain port for linksys provisioning.
...
Linksys phones need a Cisco-signed server cert, so we have to
stay at plain http for now.
12 years ago
Andreas Granig
05553d0406
MT#4413 Remove debugging messages.
...
This even breaks domain creation for PBX.
12 years ago
Andreas Granig
e93c68c58c
MT#4025 Manage customer sound-sets in details view
12 years ago
Andreas Granig
ff68cbdf84
MT#4309 Show locked subs in Customer Details
...
Before, only active ones where shown.
12 years ago
Andreas Granig
5d8c81eadc
MT#4213 Don't search for contract id twice.
...
The result set is already complex enough :)
12 years ago
Andreas Granig
5730437acf
MT#3977 Implement editing of PBX field device.
12 years ago
Andreas Granig
ed359aacd5
MT#3977 Implement backend for multi-line PBX conf
...
This makes it possible to configure multiple lines (private, shared,
blf) and attendant console keys (blf) on a field device and generate the
proper config for it.
It does not yet support editing such a field device.
12 years ago
Andreas Granig
2447dc9997
Harden access to device controller for subscribers
12 years ago
Andreas Granig
1af065d864
Allow subscriberadmin to access sub-subscribers.
12 years ago
Andreas Granig
d156b57f9d
Add display name to PBX device config template.
12 years ago
Andreas Granig
b4949f1a48
Implement PBX device boot-strapping.
12 years ago
Andreas Granig
d4ec2ef042
Implement PBX field device handling.
12 years ago
Andreas Granig
fef88b9ed3
Add PBX device skeleton.
12 years ago
Andreas Granig
811929bedb
Add display name and shared roster visibility.
12 years ago
Andreas Granig
ceb9f80eab
Use proper PBX group helper when changing PBX ext.
12 years ago
Andreas Granig
9efb1f8124
Allow changing PBX group for PBX extension.
12 years ago
Andreas Granig
5f9c114ef5
Select rewrite rule set for PBX domain creation.
12 years ago
Andreas Granig
00e13f9209
Implement editing PBX extension subscribers.
12 years ago
Andreas Granig
3c8734f089
Make PBX groups editable.
12 years ago
Andreas Granig
63e9ded2ca
Properly set PBX preferences and use transaction.
12 years ago
Andreas Granig
23675b4da3
Implement group, admin and ext handling for PBX.
12 years ago
Andreas Granig
dfb25d922c
Add skeleton to create admin/extension subscriber.
12 years ago
Andreas Granig
fe580d3c53
Show product name in customer details.
12 years ago
Andreas Granig
e6b9a0aad0
Add product selection for customer contracts.
12 years ago
Andreas Granig
ad9a8bb4dd
Use localtime in TS and set createtime for subs.
...
Consequently use server's localtime to align with auto-filled timestamps.
Set create_timestamp when creating subscribers.
12 years ago
Gerhard Jungwirth
4e49c963aa
use the message utility for all controllers
12 years ago
Andreas Granig
ab79afbb67
Fix config paths and dbalias creation.
...
In case a subscriber is created from within the customer view, then also
clear the created objects and write a dbalias.
12 years ago
Andreas Granig
d2db386252
Fix contract creation and subscriber lock handling
...
Properly create contact on-the-go.
Set lock preferences of subscribers only if >0.
12 years ago
Andreas Granig
6d38442876
Filter terminated elements; visual cleanups.
...
Don't show terminated resellers and contracts.
Wrap customer details into accordion.
12 years ago
Andreas Granig
e384577cb0
Fix subscriber creation for customer.
...
Reseller is now in Contact instead of Contract.
Make passwords visible.
12 years ago
Andreas Granig
bee006efcd
Rework reseller handling.
12 years ago
Andreas Granig
0b37392f54
Enhance navigation.
...
Simplify back-uri for navigation utils calls.
Start using back_or navigation utils function for auto-checking
close-targets.
Move navigation stack check into auto of each controller.
12 years ago
Andreas Granig
4aebd6aa8b
Implement voicemail settings.
12 years ago
Andreas Granig
cd2f79bfa1
Allow creation of subscribers within customer.
12 years ago
Andreas Granig
a976854f9e
Show registered devices for subscribers.
12 years ago
Andreas Granig
f996d4a15e
Move naviation to NGCP::Panel::Utils::Navigation
12 years ago
Andreas Granig
394595cd48
Implement subscriber creation.
12 years ago
Gerhard Jungwirth
4b4c393c41
adapt new schema with single namespace
...
just domain creation/delete is not working yet
12 years ago
Andreas Granig
74ae3d91d3
Add customer list to reseller details.
12 years ago
Andreas Granig
06facd90c9
Remove unnecessary Customer form.
12 years ago
Andreas Granig
5a4c362152
Implement contract balance handling.
12 years ago
Andreas Granig
f3f7f62868
Implement customer fraud levels.
12 years ago
Andreas Granig
3b0119e603
Add customer mock.
12 years ago
Andreas Granig
8245329a76
Implement listing of customer contracts.
12 years ago
Andreas Granig
dda40dcc16
Customer implementation. WIP.
12 years ago