Kirill Solomko
f5830cd43a
MT#8645 - billing profiles, disable seaerch by "Used", "used" internal renamed into "v_count_used" to be taken as a virtual column by the Datatables module
11 years ago
Kirill Solomko
443c9bb7db
MT#8645 - add "terminate" method
11 years ago
Kirill Solomko
8c09ffa44a
MT#7705 - fix undef ids detection in error messages. add logging for Contract, Customer
11 years ago
Kirill Solomko
68a1aa349e
MT#7705 - Rework logging for Controller/Billing module. Improve Message.pm $log parsing and shown as LOG= (optional)
11 years ago
Gerhard Jungwirth
237ebdad95
MT#6665 show error on parsing billing fees
11 years ago
Irina Peshinskaya
021b0af430
Merge branch 'master' of git.mgm.sipwise.com:ngcp-panel
11 years ago
Gerhard Jungwirth
dfa5a2d1de
MT#6559 remove usage of CLASS
...
so in a future step we can remove this from
Sipwise::Base
11 years ago
Irka
77136247f0
Invoices - a little bit more clean. But still DB is fake, and columns titles are interesting to think about more.
11 years ago
Andreas Granig
9587330201
MT#5251 Optimize billing fees upload.
...
Bring down upload time from 180s to 16s by optimizing purge of existing
ones (one query instead of one-by-one deletion) and optimizing upload
in batch (one query instead of one-by-one deletion).
11 years ago
Gerhard Jungwirth
9040831ecd
MT#3961 more translations
11 years ago
Gerhard Jungwirth
029c51fad1
MT#5661 change selection of customers when bprof is updated
...
only those customers which have this billing profile
currently active are considered
this concerns the change of the prepaid flag
11 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.
11 years ago
Andreas Granig
71658e12a7
MT#5599 Rework auth/authz for pwd-based API access
...
Cleanup unnecessary realms.
Use roles instead of realms for authz.
HTTP basic auth for api access.
Use admin/reseller roles instead of api_admin/api_reseller.
Fix API::Root invalid_user detaching.
11 years ago
Andreas Granig
b8dc8a48ce
MT#5131 Make CSV fee parsing more tight.
12 years ago
Andreas Granig
3f2ecc2da3
MT#4237 Fix create of reseller on billprof edit
...
The field handler for the reseller button was missing in the
billing controller edit function.
12 years ago
Gerhard Jungwirth
4e49c963aa
use the message utility for all controllers
12 years ago
Andreas Granig
2d1d5b6ebd
Allow to add empty offpeak start/end time.
12 years ago
Andreas Granig
9b8ce0d783
Align billing fees to new DT mechanism.
...
Finally remove the ajax_process_resultset function from Root controller.
12 years ago
Andreas Granig
1481894d68
Fix special offpeak handling.
12 years ago
Andreas Granig
64fffe783b
Allow on-the-fly reseller creation.
12 years ago
Andreas Granig
4572d950d0
Fix billing handling.
12 years ago
Andreas Granig
e1f7a4710e
Properly handle back button.
12 years ago
Andreas Granig
21af84fdf6
Lots of cleanups and bugfixes and back-nav.
...
Implement automatic back navigation.
Fix subscriber creation.
Unify controller handling.
12 years ago
Andreas Granig
bee006efcd
Rework reseller handling.
12 years ago
Andreas Granig
5e0c8faa0a
Properly carry back new objects in nav-chain.
...
If you create something (e.g. a contract) and have a sub-field
you create on-the-go (e.g. contact and billing profile), then
properly pre-select them once you get back to the original view
(the contract form in this example).
12 years ago
Andreas Granig
04296de4c4
First part of reworking 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
f996d4a15e
Move naviation to NGCP::Panel::Utils::Navigation
12 years ago
Gerhard Jungwirth
25c535cda1
Check for correct date in billing weekday settings
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
1a61093b9c
Fix weekdays peaktime handling.
12 years ago
Andreas Granig
99fbe92d0c
Fix displaying special peak times.
12 years ago
Andreas Granig
215748a033
Migrate to new datatables search method.
12 years ago
Andreas Granig
4bbbee3aa1
Finish migration to new button handling.
...
You can now define in your datatables template which buttons to
show on top and which to show per row while defining an arbitrary
action for it.
Buttons with name "Delete" pop up a confirm dialog automatically.
12 years ago
Andreas Granig
1731006570
Check for uploaded file before deleting/processing
12 years ago
Gerhard Jungwirth
ae4c3660d7
use different Forms for BillingProfile when admin/reseller is logged in
...
reseller cannot create billing_profiles for other resellers/admins...
12 years ago
Gerhard Jungwirth
4ef08be450
restructure parameters of NGCP::Panel::Utils::check_form_buttons
...
to allow multiple redirect_uris to be given to it
the old style (arrayref) is still supported though
+fix typo
12 years ago
Lars Dieckow
67a7ff3627
Catalyst 5.90040
12 years ago
Lars Dieckow
421f9f319d
centralised ACL roles for all controllers
12 years ago
Gerhard Jungwirth
08d2105b56
Show/Create/Update/Delete of peering servers and rules
...
* also the create link in datatables is now based on helper.base_uri
* also the peering controller checks exceptions on every db update
12 years ago
Gerhard Jungwirth
dec990e570
perl5i to check for integers, documentation
...
* Method name "list" is not allowed with Sipwise::Base
* Correctly break chain in peaktime_specials_edit, peaktime_specials_delete
* better use ->is_integer instead of regex
12 years ago
Gerhard Jungwirth
25e0057b24
add tests for billing controller
...
and make weekdays generic
12 years ago
Gerhard Jungwirth
abfadb4988
provide CSV upload of billing_fees
...
using Text::CSV_XS
12 years ago
Gerhard Jungwirth
e7d92ff670
prevent deletion of billing_profiles
...
Billing-Profiles MUST NOT be deleted
Fixes: sipwise-0003127
12 years ago
Gerhard Jungwirth
210140f483
Make Preferences a button
...
Closes: sipwise-0003083
12 years ago
Gerhard Jungwirth
ee50a88695
implement create/edit/delete of billing_peaktime_special
12 years ago
Gerhard Jungwirth
016ae58929
fix syntax (indirect call)
...
fix syntax so that indirect cannot complain
now we can use correct scope for Sipwise::Base
12 years ago
Gerhard Jungwirth
e89dfa5f4a
show peaktime dates as datatables table
12 years ago
Gerhard Jungwirth
82386265f2
billing weekdays: option to add/delete time ranges
12 years ago
Gerhard Jungwirth
f908c19483
outsource modal, introduce peaktime page
...
modal uses a separate template file now
the weekdays edit modal is WIP
12 years ago