egroupware/etemplate/js/test/et2_test_timesheet_edit.json
2011-08-23 15:27:34 +00:00

89 lines
2.2 KiB
JSON

var timesheet_data = {
"content":{
"ts_id":"1",
"ts_project":null,
"ts_title":"Test geschrieben",
"ts_description":"This is just a test description",
"ts_start":1307030400,
"ts_duration":"150",
"ts_quantity":"2.5",
"ts_unitprice":null,
"cat_id":null,
"ts_owner":"6",
"ts_modified":1307039479,
"ts_modifier":"5",
"pl_id":null,
"ts_status":null,
"user_timezone_read":"Europe/Berlin",
"msg":null,
"view":false,
"tabs":null,
"link_to":{
"to_id":"1",
"to_app":"timesheet"
},
"js":"<script>\u000a\u000a</script>\u000a",
"ts_quantity_blur":2.5,
"start_time":"18:00",
"pm_integration":null,
"no_ts_status":true,
"all_pm_ids":[],
"history":{
"id":"1",
"app":"timesheet",
"status-widgets":{
"ts_status":[],
"ts_modifier":"select-account",
"cat_id":"select-cat"
}
},
"ts_title_blur":null
},
"sel_options":{
"status":{
"ts_project":"Project",
"ts_title":"Title",
"cat_id":"Category",
"ts_description":"Description",
"ts_start":"Start",
"ts_duration":"Duration",
"ts_quantity":"Quantity",
"ts_unitprice":"Unitprice",
"ts_owner":"Owner",
"ts_modifier":"Modifier",
"ts_status":"Status",
"pm_id":"Projectid",
"customfields":"Custom fields"
},
"ts_owner":{
"5":"User, admin",
"6": {
"label": "User, andreas",
"title": "This is the local user of Andreas Stöckel"
}
},
"ts_status":[]
},
"readonlys":{
"button[delete]":false,
"button[edit]":true,
"button[save]":false,
"button[save_new]":false,
"button[apply]":false,
"ts_owner":true,
"tabs":{
"customfields":true
}
},
"validation_errors": {
"ts_title": "Please enter some meaningful title here!"
},
"modifications": {
"ts_quantity": {
"width": "200px",
"class": "blue"
}
}
}