Lars Dieckow
0c3e980e61
correct dependencies
13 years ago
Gerhard Jungwirth
5f36ccea1b
outsource TODOs to bugtracker.sipwise.com
13 years ago
Gerhard Jungwirth
bf41772200
remove commented code
...
and one small code simplification
13 years ago
Gerhard Jungwirth
e953697c8f
new modal to create billing zones
13 years ago
Gerhard Jungwirth
0af4c6293f
fix editing of billing_fees
...
- the foreign key billing_zone_id was not treated correctly
- also added a link to billing in the dashboard widget
- update some documentation
13 years ago
Gerhard Jungwirth
d1d4ec754b
make billing_fees editable, add billing_zone as datatables form
...
the use of get_columns in lib/NGCP/Panel/Controller/Billing.pm
line 141 could cause problems according to #dbix-class
13 years ago
Gerhard Jungwirth
a0773b2591
billing: fix links, create forms (billing_fees, billing_profiles)
...
- another datatables structure is there for billing_fees
- forms are now performing the desired actions (in ngcp-schema)
13 years ago
Gerhard Jungwirth
3df437082c
create "Edit Billing" modal, make validator happy
...
plus add a topmenu entry for Billing
plus better align actions column
13 years ago
Gerhard Jungwirth
1f73491b9c
Create new controller for Billing
13 years ago
Gerhard Jungwirth
dc67ed1303
add some source documentation
...
to domain controller and preferences form
13 years ago
Gerhard Jungwirth
c597b3fc7d
restructuring DB access
...
using prefetch to improve performance
the whole preferences page now only needs 4 sql queries
13 years ago
Gerhard Jungwirth
3b367079ea
group preferences (using bootstrap accordion)
13 years ago
Gerhard Jungwirth
c3caf6442e
style multiple entry form more nicely
...
also show label correctly
13 years ago
Gerhard Jungwirth
a1ca6af6b9
options to delete and deactivate prefs with multiple values
13 years ago
Gerhard Jungwirth
da8f3b267d
editing preferences with multiple values (WIP)
13 years ago
Gerhard Jungwirth
5d6374f153
html encode preference description
13 years ago
Gerhard Jungwirth
6dce0d610c
Fix prefill and update of preferences.
13 years ago
Andreas Granig
6af4d59390
Some more fix attempts for dom-prefs, WIP.
13 years ago
Andreas Granig
2c16631a4b
Implement first part of editing domain preferences.
...
Show form accordig to preference type. Still doesn't save
correctly and lacks support for max_occur=0 cases (e.g.
lists of strings).
13 years ago
Andreas Granig
7f92d7f82c
Properly display domain preferences in full list.
13 years ago
Gerhard Jungwirth
8ddff24cdc
domain preferences: fix form, create overlay
13 years ago
Gerhard Jungwirth
b7a582c87a
make preferences table
...
but keep preference form for now
13 years ago
Gerhard Jungwirth
0b706763c2
have a Preferences Form (extending FormHandler)
13 years ago
Gerhard Jungwirth
7e3f856be0
domain: remove edit button, add preferences link
13 years ago
Gerhard Jungwirth
16f82c70fa
domain: use create_domain() from ngcp-schema to create domain
13 years ago
Gerhard Jungwirth
416ae48813
domain controller: error message, some simplifications
...
its possible to use resultset in base chain now,
but that will change when we use the convenience methods in the schema
13 years ago
Gerhard Jungwirth
a95a5d3cfd
use resultset for searching, sorting and pagination
...
- also for rowcount
- also do some cleanup/coding style
13 years ago
Gerhard Jungwirth
547aea4c5b
fix/restructure domain controller to use resultset more consistently
13 years ago
Gerhard Jungwirth
79adff3037
change data handling in ajax method
...
- resultset is now processed directly by ajax method
- small fix in config file
13 years ago
Gerhard Jungwirth
f982cbbe0b
outsource model config to config file
13 years ago
Gerhard Jungwirth
c3f8397fad
simple edit, create, delete for domains
...
- does not use the dedicated methods in NGCP::Schema::billing
13 years ago
Gerhard Jungwirth
764865cdcf
start using ngcp-schema (for domains)
...
- requires: ngcp-schema and sipwise-base
13 years ago
Gerhard Jungwirth
0e276f2782
bugfix in edit dialog containing datatables field
...
- when a row is preselected in a datatables field, it is shifted top, to make sure its visible
Conflicts:
lib/NGCP/Panel/Controller/Root.pm
13 years ago
Gerhard Jungwirth
dcd965f312
use a bootstrap style 404 error page
13 years ago
Gerhard Jungwirth
8d781eb898
sort dashboard widgets through priority
13 years ago
Andreas Granig
8ff5c4e427
Migrate domain handling to datatables.
13 years ago
Andreas Granig
6ede6b4e09
Dynamically load top menu widgets.
13 years ago
Andreas Granig
47a7b3bf24
Fix error handling for datatable fields.
13 years ago
Andreas Granig
ba235d629e
Align modal datatable to form layout.
13 years ago
Andreas Granig
3b2523473b
Use datatables by default for each table.
...
For the main tables, we use datatables now anyways.
Also use it for datatables fields within forms (needs some visual
optimization and positioning of error messages, as well as
validation code).
13 years ago
Andreas Granig
4b22a492df
Fix modal handling.
...
Remove hardcoded columns in datatables fields.
Make modal popup wider to fit the table better.
Add pagination to table.
13 years ago
Andreas Granig
277d9d34f2
Fix hardcoded urls and missing wrapper function.
13 years ago
Gerhard Jungwirth
d6d7784969
fix warning, add datatables into /contract/create
...
- fix warning caused by missing "widget" attribute
- use datatables to select contacts in /contract/create
13 years ago
Gerhard Jungwirth
63484ee94a
use hidden field for the new datatables field
13 years ago
Gerhard Jungwirth
2d7d691de3
New datatables based fields.
13 years ago
Gerhard Jungwirth
080feb9c6f
Commit WIP.
13 years ago
Gerhard Jungwirth
93968c3a11
design of edit/delete buttons, permission handling, bugfix
...
- hide edit/delete buttons and show them on hover
- show a 403 error on ../ajax urls when user is not logged in
- distinguish between totalRecords and totalDisplayRecords
- fix missing ; in Makefile.PL
13 years ago
Gerhard Jungwirth
f5afd4911b
use serverside sorting in datatables
13 years ago
Gerhard Jungwirth
6b64c732ac
outsource ajax processing into private action /ajax_process in Root controller
13 years ago
Gerhard Jungwirth
d8f05dc1a3
make /contacts use datatables
13 years ago