PDA

View Full Version : treestore load problems



jad_Topnetwork
3 Nov 2014, 5:26 AM
Hy,

I have some problems with this tree store.



Ext.define('TopnetCore.data.store.RoomsTree', {
extend: 'Ext.data.TreeStore',

constructor: function(cfg) {
var me = this;
cfg = cfg || {};
me.callParent([Ext.apply({
storeId: 'roomstree',
//autoLoad: false,
root: {
expanded: false
},
fields: [
{
name: 'path'
},{
name: 'text'
},{
name: 'mandate_id'
},{
name: 'zone'
},{
name: 'floor_name_id'
},{
name: 'surface',
type: 'float'
},{
name: 'use_on_occupancy',
type: 'boolean'
}
],
proxy: {
type: 'ajax',
api: {
read: 'src/php/?topnet=1&type=room&tree=1'
},
reader: {
type: 'json'
}
}
}, cfg)]);
}
});






[{"path":"Batiment 2","text":"Batiment 2","mandate_id":"1","floor_name_id":0,"zone":"Batiment 2","expanded":"true","children":[{"path":"Batiment 2\/17","text":"rez","mandate_id":"1","zone":"Batiment 2","floor_name_id":"17","expanded":"true","children":[{"id":"550","mandate_id":"1","floor_name_id":"17","room_type_id":"35","surface_type_id":"23","zone":"Batiment 2","custom_ref":"Barierre","surface":"90","name":"Barierre","controls_acceptance_threshold":"0","tnw_create_date":"2014-10-09 09:38:04","tnw_create_user_id":"1","tnw_update_date":"0000-00-00 00:00:00","tnw_update_user_id":"0","floor_name":"rez","surface_type_name":"Plastique PVC","room_type_name":"Accueil","use_on_occupancy":"0","programs":[],"controls":[],"programs_ids":[],"controls_ids":[],"path":"Batiment 2\/17\/550","text":"Barierre<span class=\"controls_nbr\" title=\"Aucun contr\u00f4le\">0<\/span><span class=\"programs_nbr\" title=\"Aucun programme de confort\">0<\/span>","leaf":"true"},{"id":"15","mandate_id":"1","floor_name_id":"17","room_type_id":"35","surface_type_id":"22","zone":"Batiment 2","custom_ref":"Recurage mecanique","surface":"400","name":"Recurage","controls_acceptance_threshold":"80","tnw_create_date":"2014-07-29 14:42:52","tnw_create_user_id":"44","tnw_update_date":"0000-00-00 00:00:00","tnw_update_user_id":"0","floor_name":"rez","surface_type_name":"Linoleum","room_type_name":"Accueil","use_on_occupancy":"0","programs":[{"id":"30","cleaning_program_id":"11","room_id":"15","mandate_financial_proposal_id":"1","surface_to_clean":"400","employee_hourly_cost":"22.7","employee_hourly_cost_margin":"0","work_team_id":"0","tnw_create_date":"2014-07-29 14:43:14","tnw_create_user_id":"44","tnw_update_date":"2014-10-20 16:50:36","tnw_update_user_id":"1","name":"Travaux p\u00e9riodique Temps - N40","program_calculation_method_id":"138","cleaning_services":[{"id":"752","room_cleaning_program_id":"30","cleaning_service_id":"23","service_frequency_QURHN":"1Y1","efficiency_adjustment_1":"0","efficiency_adjustment_2":"0","efficiency":"80","quantity":"0","actif":"1","use_occupancy":"0","tnw_create_date":"2014-07-29 14:43:14","tnw_create_user_id":"44","tnw_update_date":"2014-07-29 14:44:30","tnw_update_user_id":"44","name":"R\u00e9curage des sols \u00e0 la monobrosse"}]}],"controls":[],"programs_ids":[{"id":"30","cleaning_program_id":"11","room_id":"15","mandate_financial_proposal_id":"1","surface_to_clean":"400","employee_hourly_cost":"22.7","employee_hourly_cost_margin":"0","work_team_id":"0","tnw_create_date":"2014-07-29 14:43:14","tnw_create_user_id":"44","tnw_update_date":"2014-10-20 16:50:36","tnw_update_user_id":"1","name":"Travaux p\u00e9riodique Temps - N40","program_calculation_method_id":"138","cleaning_services":[{"id":"752","room_cleaning_program_id":"30","cleaning_service_id":"23","service_frequency_QURHN":"1Y1","efficiency_adjustment_1":"0","efficiency_adjustment_2":"0","efficiency":"80","quantity":"0","actif":"1","use_occupancy":"0","tnw_create_date":"2014-07-29 14:43:14","tnw_create_user_id":"44","tnw_update_date":"2014-07-29 14:44:30","tnw_update_user_id":"44","name":"R\u00e9curage des sols \u00e0 la monobrosse"}]}],"controls_ids":[],"path":"Batiment 2\/17\/15","text":"Recurage<span class=\"controls_nbr\" title=\"Aucun contr\u00f4le\">0<\/span><span class=\"programs_nbr\" title=\"1 programme de confort\">1<\/span>","leaf":"true"},{"id":"14","mandate_id":"1","floor_name_id":"17","room_type_id":"35","surface_type_id":"28","zone":"Batiment 2","custom_ref":"Vitre","surface":"1200","name":"Vitre","controls_acceptance_threshold":"80","tnw_create_date":"2014-07-29 14:11:36","tnw_create_user_id":"1","tnw_update_date":"2014-07-29 14:22:40","tnw_update_user_id":"44","floor_name":"rez","surface_type_name":"Ciment","room_type_name":"Accueil","use_on_occupancy":"0","programs":[{"id":"25","cleaning_program_id":"11","room_id":"14","mandate_financial_proposal_id":"1","surface_to_clean":"800","employee_hourly_cost":"22.7","employee_hourly_cost_margin":"0","work_team_id":"0","tnw_create_date":"2014-07-29 14:12:13","tnw_create_user_id":"1","tnw_update_date":"2014-10-20 16:50:36","tnw_update_user_id":"1","name":"Travaux p\u00e9riodique Temps - N40","program_calculation_method_id":"138","cleaning_services":[{"id":"599","room_cleaning_program_id":"25","cleaning_service_id":"54","service_frequency_QURHN":"2Y1","efficiency_adjustment_1":"0","efficiency_adjustment_2":"0","efficiency":"20","quantity":"0","actif":"1","use_occupancy":"0","tnw_create_date":"2014-07-29 14:12:13","tnw_create_user_id":"1","tnw_update_date":"2014-07-29 14:40:00","tnw_update_user_id":"1","name":"nettoyage s\u00e9paration vitr\u00e9e - ratio par face"}]}],"controls":[],"programs_ids":[{"id":"25","cleaning_program_id":"11","room_id":"14","mandate_financial_proposal_id":"1","surface_to_clean":"800","employee_hourly_cost":"22.7","employee_hourly_cost_margin":"0","work_team_id":"0","tnw_create_date":"2014-07-29 14:12:13","tnw_create_user_id":"1","tnw_update_date":"2014-10-20 16:50:36","tnw_update_user_id":"1","name":"Travaux p\u00e9riodique Temps - N40","program_calculation_method_id":"138","cleaning_services":[{"id":"599","room_cleaning_program_id":"25","cleaning_service_id":"54","service_frequency_QURHN":"2Y1","efficiency_adjustment_1":"0","efficiency_adjustment_2":"0","efficiency":"20","quantity":"0","actif":"1","use_occupancy":"0","tnw_create_date":"2014-07-29 14:12:13","tnw_create_user_id":"1","tnw_update_date":"2014-07-29 14:40:00","tnw_update_user_id":"1","name":"nettoyage s\u00e9paration vitr\u00e9e - ratio par face"}]}],"controls_ids":[],"path":"Batiment 2\/17\/14","text":"Vitre<span class=\"controls_nbr\" title=\"Aucun contr\u00f4le\">0<\/span><span class=\"programs_nbr\" title=\"1 programme de confort\">1<\/span>","leaf":"true"}]}]},{"path":"Batiment 1","text":"Batiment 1","mandate_id":"1","floor_name_id":0,"zone":"Batiment 1","expanded":"true","children":[{"path":"Batiment 1\/17","text":"rez","mandate_id":"1","zone":"Batiment 1","floor_name_id":"17","expanded":"true","children":[{"id":"13","mandate_id":"1","floor_name_id":"17","room_type_id":"143","surface_type_id":"22","zone":"Batiment 1","custom_ref":"production","surface":"545","name":"production","controls_acceptance_threshold":"0","tnw_create_date":"2014-07-24 17:41:45","tnw_create_user_id":"1","tnw_update_date":"2014-08-25 18:44:05","tnw_update_user_id":"44","floor_name":"rez","surface_type_name":"Linoleum","room_type_name":"Zone de production","use_on_occupancy":"0","programs":[{"id":"1029","cleaning_program_id":"78","room_id":"13","mandate_financial_proposal_id":"27","surface_to_clean":"545","employee_hourly_cost":"19.85","employee_hourly_cost_margin":"0","work_team_id":"145","tnw_create_date":"2014-10-06 16:06:31","tnw_create_user_id":"1","tnw_update_date":"2014-10-27 10:25:08","tnw_update_user_id":"1","name":"Mise \u00e0 disposition personnel entretien E0","program_calculation_method_id":"138","cleaning_services":[{"id":"27307","room_cleaning_program_id":"1029","cleaning_service_id":"86","service_frequency_QURHN":"1D1","efficiency_adjustment_1":"0","efficiency_adjustment_2":"0","efficiency":"0","quantity":"1","actif":"1","use_occupancy":"0","tnw_create_date":"2014-10-06 16:06:31","tnw_create_user_id":"1","tnw_update_date":"2014-10-27 10:25:04","tnw_update_user_id":"1","name":"Mise \u00e0 disposition de personnel entretien"}]}],"controls":[],"programs_ids":[{"id":"1029","cleaning_program_id":"78","room_id":"13","mandate_financial_proposal_id":"27","surface_to_clean":"545","employee_hourly_cost":"19.85","employee_hourly_cost_margin":"0","work_team_id":"145","tnw_create_date":"2014-10-06 16:06:31","tnw_create_user_id":"1","tnw_update_date":"2014-10-27 10:25:08","tnw_update_user_id":"1","name":"Mise \u00e0 disposition personnel entretien E0","program_calculation_method_id":"138","cleaning_services":[{"id":"27307","room_cleaning_program_id":"1029","cleaning_service_id":"86","service_frequency_QURHN":"1D1","efficiency_adjustment_1":"0","efficiency_adjustment_2":"0","efficiency":"0","quantity":"1","actif":"1","use_occupancy":"0","tnw_create_date":"2014-10-06 16:06:31","tnw_create_user_id":"1","tnw_update_date":"2014-10-27 10:25:04","tnw_update_user_id":"1","name":"Mise \u00e0 disposition de personnel entretien"}]}],"controls_ids":[],"path":"Batiment 1\/17\/13","text":"production<span class=\"controls_nbr\" title=\"Aucun contr\u00f4le\">0<\/span><span class=\"programs_nbr\" title=\"1 programme de confort\">1<\/span>","leaf":"true"},{"id":"12","mandate_id":"1","floor_name_id":"17","room_type_id":"143","surface_type_id":"22","zone":"Batiment 1","custom_ref":"production","surface":"1288","name":"production","controls_acceptance_threshold":"0","tnw_create_date":"2014-07-24 17:41:45","tnw_create_user_id":"1","tnw_update_date":"0000-00-00 00:00:00","tnw_update_user_id":"0","floor_name":"rez","surface_type_name":"Linoleum","room_type_name":"Zone de production","use_on_occupancy":"0","programs":[{"id":"1033","cleaning_program_id":"52","room_id":"12","mandate_financial_proposal_id":"27","surface_to_clean":"1288","employee_hourly_cost":"-1","employee_hourly_cost_margin":"-1","work_team_id":"145","tnw_create_date":"2014-10-27 10:25:22","tnw_create_user_id":"1","tnw_update_date":"0000-00-00 00:00:00","tnw_update_user_id":"0","name":"Laboratoire, ateliers d'assemblage horlogers - E0","program_calculation_method_id":"137","cleaning_services":[]}],"controls":[{"id":"46","control_id":"6","room_id":"12","mandate_financial_proposal_id":"25","tnw_create_date":"2014-10-28 09:00:34","tnw_create_user_id":"1","tnw_update_date":"2014-10-28 09:01:44","tnw_update_user_id":"1","name":"Locaux productions"},{"id":"34","control_id":"6","room_id":"12","mandate_financial_proposal_id":"1","tnw_create_date":"2014-10-20 15:23:07","tnw_create_user_id":"1","tnw_update_date":"0000-00-00 00:00:00","tnw_update_user_id":"0","name":"Locaux productions"}],"programs_ids":[{"id":"1033","cleaning_program_id":"52","room_id":"12","mandate_financial_proposal_id":"27","surface_to_clean":"1288","employee_hourly_cost":"-1","employee_hourly_cost_margin":"-1","work_team_id":"145","tnw_create_date":"2014-10-27 10:25:22","tnw_create_user_id":"1","tnw_update_date":"0000-00-00 00:00:00","tnw_update_user_id":"0","name":"Laboratoire, ateliers d'assemblage horlogers - E0","program_calculation_method_id":"137","cleaning_services":[]}],"controls_ids":[{"id":"46","control_id":"6","room_id":"12","mandate_financial_proposal_id":"25","tnw_create_date":"2014-10-28 09:00:34","tnw_create_user_id":"1","tnw_update_date":"2014-10-28 09:01:44","tnw_update_user_id":"1","name":"Locaux productions"},{"id":"34","control_id":"6","room_id":"12","mandate_financial_proposal_id":"1","tnw_create_date":"2014-10-20 15:23:07","tnw_create_user_id":"1","tnw_update_date":"0000-00-00 00:00:00","tnw_update_user_id":"0","name":"Locaux productions"}],"path":"Batiment 1\/17\/12","text":"production<span class=\"controls_nbr\" title=\"2 contr\u00f4les\">2<\/span><span class=\"programs_nbr\" title=\"1 programme de confort\">1<\/span>","leaf":"true"},{"id":"11","mandate_id":"1","floor_name_id":"17","room_type_id":"56","surface_type_id":"22","zone":"Batiment 1","custom_ref":"stock","surface":"374","name":"stock","controls_acceptance_threshold":"0","tnw_create_date":"2014-07-24 17:41:45","tnw_create_user_id":"1","tnw_update_date":"0000-00-00 00:00:00","tnw_update_user_id":"0","floor_name":"rez","surface_type_name":"Linoleum","room_type_name":"Halle stockage","use_on_occupancy":"0","programs":[],"controls":[],"programs_ids":[],"controls_ids":[],"path":"Batiment 1\/17\/11","text":"stock<span class=\"controls_nbr\" title=\"Aucun contr\u00f4le\">0<\/span><span class=\"programs_nbr\" title=\"Aucun programme de confort\">0<\/span>","leaf":"true"},{"id":"10","mandate_id":"1","floor_name_id":"17","room_type_id":"63","surface_type_id":"22","zone":"Batiment 1","custom_ref":"vestiaire","surface":"104","name":"vestiaire","controls_acceptance_threshold":"0","tnw_create_date":"2014-07-24 17:41:45","tnw_create_user_id":"1","tnw_update_date":"2014-08-27 11:56:34","tnw_update_user_id":"1","floor_name":"rez","surface_type_name":"Linoleum","room_type_name":"Vestiaires","use_on_occupancy":"0","programs":[],"controls":[],"programs_ids":[],"controls_ids":[],"path":"Batiment 1\/17\/10","text":"vestiaire<span class=\"controls_nbr\" title=\"Aucun contr\u00f4le\">0<\/span><span class=\"programs_nbr\" title=\"Aucun programme de confort\">0<\/span>","leaf":"true"},{"id":"9","mandate_id":"1","floor_name_id":"17","room_type_id":"14","surface_type_id":"22","zone":"Batiment 1","custom_ref":"sanitaire","surface":"44","name":"sanitaire","controls_acceptance_threshold":"0","tnw_create_date":"2014-07-24 17:41:45","tnw_create_user_id":"1","tnw_update_date":"0000-00-00 00:00:00","tnw_update_user_id":"0","floor_name":"rez","surface_type_name":"Linoleum","room_type_name":"Sanitaires","use_on_occupancy":"0","programs":[],"controls":[],"programs_ids":[],"controls_ids":[],"path":"Batiment 1\/17\/9","text":"sanitaire<span class=\"controls_nbr\" title=\"Aucun contr\u00f4le\">0<\/span><span class=\"programs_nbr\" title=\"Aucun programme de confort\">0<\/span>","leaf":"true"},{"id":"8","mandate_id":"1","floor_name_id":"17","room_type_id":"87","surface_type_id":"22","zone":"Batiment 1","custom_ref":"cafeteria","surface":"100","name":"cafeteria","controls_acceptance_threshold":"0","tnw_create_date":"2014-07-24 17:41:45","tnw_create_user_id":"1","tnw_update_date":"0000-00-00 00:00:00","tnw_update_user_id":"0","floor_name":"rez","surface_type_name":"Linoleum","room_type_name":"R\u00e9fectoire","use_on_occupancy":"0","programs":[],"controls":[],"programs_ids":[],"controls_ids":[],"path":"Batiment 1\/17\/8","text":"cafeteria<span class=\"controls_nbr\" title=\"Aucun contr\u00f4le\">0<\/span><span class=\"programs_nbr\" title=\"Aucun programme de confort\">0<\/span>","leaf":"true"},{"id":"7","mandate_id":"1","floor_name_id":"17","room_type_id":"35","surface_type_id":"22","zone":"Batiment 1","custom_ref":"r\u00e9ception","surface":"196","name":"r\u00e9ception","controls_acceptance_threshold":"0","tnw_create_date":"2014-07-24 17:41:45","tnw_create_user_id":"1","tnw_update_date":"0000-00-00 00:00:00","tnw_update_user_id":"0","floor_name":"rez","surface_type_name":"Linoleum","room_type_name":"Accueil","use_on_occupancy":"0","programs":[],"controls":[],"programs_ids":[],"controls_ids":[],"path":"Batiment 1\/17\/7","text":"r\u00e9ception<span class=\"controls_nbr\" title=\"Aucun contr\u00f4le\">0<\/span><span class=\"programs_nbr\" title=\"Aucun programme de confort\">0<\/span>","leaf":"true"},{"id":"6","mandate_id":"1","floor_name_id":"17","room_type_id":"55","surface_type_id":"22","zone":"Batiment 1","custom_ref":"local technique","surface":"177","name":"local technique","controls_acceptance_threshold":"0","tnw_create_date":"2014-07-24 17:41:45","tnw_create_user_id":"1","tnw_update_date":"0000-00-00 00:00:00","tnw_update_user_id":"0","floor_name":"rez","surface_type_name":"Linoleum","room_type_name":"Locaux technique","use_on_occupancy":"0","programs":[],"controls":[],"programs_ids":[],"controls_ids":[],"path":"Batiment 1\/17\/6","text":"local technique<span class=\"controls_nbr\" title=\"Aucun contr\u00f4le\">0<\/span><span class=\"programs_nbr\" title=\"Aucun programme de confort\">0<\/span>","leaf":"true"},{"id":"4","mandate_id":"1","floor_name_id":"17","room_type_id":"144","surface_type_id":"22","zone":"Batiment 1","custom_ref":"circulation","surface":"389","name":"circulation","controls_acceptance_threshold":"70","tnw_create_date":"2014-07-24 17:41:45","tnw_create_user_id":"1","tnw_update_date":"2014-10-28 11:06:32","tnw_update_user_id":"1","floor_name":"rez","surface_type_name":"Linoleum","room_type_name":"Circulation","use_on_occupancy":"0","programs":[],"controls":[{"id":"45","control_id":"2","room_id":"4","mandate_financial_proposal_id":"25","tnw_create_date":"2014-10-27 08:54:22","tnw_create_user_id":"1","tnw_update_date":"2014-10-28 09:04:40","tnw_update_user_id":"1","name":"Circulations"}],"programs_ids":[],"controls_ids":[{"id":"45","control_id":"2","room_id":"4","mandate_financial_proposal_id":"25","tnw_create_date":"2014-10-27 08:54:22","tnw_create_user_id":"1","tnw_update_date":"2014-10-28 09:04:40","tnw_update_user_id":"1","name":"Circulations"}],"path":"Batiment 1\/17\/4","text":"circulation<span class=\"controls_nbr\" title=\"1 contr\u00f4le\">1<\/span><span class=\"programs_nbr\" title=\"Aucun programme de confort\">0<\/span>","leaf":"true"},{"id":"3","mandate_id":"1","floor_name_id":"17","room_type_id":"15","surface_type_id":"22","zone":"Batiment 1","custom_ref":"bureaux","surface":"28","name":"bureaux jean pierre","controls_acceptance_threshold":"0","tnw_create_date":"2014-07-24 17:41:45","tnw_create_user_id":"1","tnw_update_date":"2014-08-27 10:40:52","tnw_update_user_id":"1","floor_name":"rez","surface_type_name":"Linoleum","room_type_name":"Bureau","use_on_occupancy":"1","programs":[{"id":"1031","cleaning_program_id":"73","room_id":"3","mandate_financial_proposal_id":"1","surface_to_clean":"28","employee_hourly_cost":"17.7","employee_hourly_cost_margin":"0","work_team_id":"145","tnw_create_date":"2014-10-13 11:21:06","tnw_create_user_id":"1","tnw_update_date":"2014-10-20 16:50:36","tnw_update_user_id":"1","name":"Bureaux - E3","program_calculation_method_id":"137","cleaning_services":[]}],"controls":[{"id":"27","control_id":"3","room_id":"3","mandate_financial_proposal_id":"25","tnw_create_date":"2014-10-16 13:27:23","tnw_create_user_id":"1","tnw_update_date":"2014-10-24 14:28:16","tnw_update_user_id":"1","name":"Locaux administratifs"},{"id":"12","control_id":"3","room_id":"3","mandate_financial_proposal_id":"1","tnw_create_date":"2014-10-13 11:27:21","tnw_create_user_id":"1","tnw_update_date":"0000-00-00 00:00:00","tnw_update_user_id":"0","name":"Locaux administratifs"}],"programs_ids":[{"id":"1031","cleaning_program_id":"73","room_id":"3","mandate_financial_proposal_id":"1","surface_to_clean":"28","employee_hourly_cost":"17.7","employee_hourly_cost_margin":"0","work_team_id":"145","tnw_create_date":"2014-10-13 11:21:06","tnw_create_user_id":"1","tnw_update_date":"2014-10-20 16:50:36","tnw_update_user_id":"1","name":"Bureaux - E3","program_calculation_method_id":"137","cleaning_services":[]}],"controls_ids":[{"id":"27","control_id":"3","room_id":"3","mandate_financial_proposal_id":"25","tnw_create_date":"2014-10-16 13:27:23","tnw_create_user_id":"1","tnw_update_date":"2014-10-24 14:28:16","tnw_update_user_id":"1","name":"Locaux administratifs"},{"id":"12","control_id":"3","room_id":"3","mandate_financial_proposal_id":"1","tnw_create_date":"2014-10-13 11:27:21","tnw_create_user_id":"1","tnw_update_date":"0000-00-00 00:00:00","tnw_update_user_id":"0","name":"Locaux administratifs"}],"path":"Batiment 1\/17\/3","text":"bureaux jean pierre<span class=\"controls_nbr\" title=\"2 contr\u00f4les\">2<\/span><span class=\"programs_nbr\" title=\"1 programme de confort\">1<\/span>","leaf":"true"},{"id":"2","mandate_id":"1","floor_name_id":"17","room_type_id":"15","surface_type_id":"22","zone":"Batiment 1","custom_ref":"bureaux","surface":"28","name":"bureaux jean jacque","controls_acceptance_threshold":"0","tnw_create_date":"2014-07-24 17:41:45","tnw_create_user_id":"1","tnw_update_date":"2014-08-27 10:41:08","tnw_update_user_id":"1","floor_name":"rez","surface_type_name":"Linoleum","room_type_name":"Bureau","use_on_occupancy":"1","programs":[{"id":"1030","cleaning_program_id":"73","room_id":"2","mandate_financial_proposal_id":"1","surface_to_clean":"28","employee_hourly_cost":"17.7","employee_hourly_cost_margin":"0","work_team_id":"145","tnw_create_date":"2014-10-13 11:21:06","tnw_create_user_id":"1","tnw_update_date":"2014-10-20 16:50:36","tnw_update_user_id":"1","name":"Bureaux - E3","program_calculation_method_id":"137","cleaning_services":[]}],"controls":[{"id":"29","control_id":"3","room_id":"2","mandate_financial_proposal_id":"25","tnw_create_date":"2014-10-16 13:27:23","tnw_create_user_id":"1","tnw_update_date":"0000-00-00 00:00:00","tnw_update_user_id":"0","name":"Locaux administratifs"},{"id":"13","control_id":"3","room_id":"2","mandate_financial_proposal_id":"1","tnw_create_date":"2014-10-13 11:27:21","tnw_create_user_id":"1","tnw_update_date":"0000-00-00 00:00:00","tnw_update_user_id":"0","name":"Locaux administratifs"}],"programs_ids":[{"id":"1030","cleaning_program_id":"73","room_id":"2","mandate_financial_proposal_id":"1","surface_to_clean":"28","employee_hourly_cost":"17.7","employee_hourly_cost_margin":"0","work_team_id":"145","tnw_create_date":"2014-10-13 11:21:06","tnw_create_user_id":"1","tnw_update_date":"2014-10-20 16:50:36","tnw_update_user_id":"1","name":"Bureaux - E3","program_calculation_method_id":"137","cleaning_services":[]}],"controls_ids":[{"id":"29","control_id":"3","room_id":"2","mandate_financial_proposal_id":"25","tnw_create_date":"2014-10-16 13:27:23","tnw_create_user_id":"1","tnw_update_date":"0000-00-00 00:00:00","tnw_update_user_id":"0","name":"Locaux administratifs"},{"id":"13","control_id":"3","room_id":"2","mandate_financial_proposal_id":"1","tnw_create_date":"2014-10-13 11:27:21","tnw_create_user_id":"1","tnw_update_date":"0000-00-00 00:00:00","tnw_update_user_id":"0","name":"Locaux administratifs"}],"path":"Batiment 1\/17\/2","text":"bureaux jean jacque<span class=\"controls_nbr\" title=\"2 contr\u00f4les\">2<\/span><span class=\"programs_nbr\" title=\"1 programme de confort\">1<\/span>","leaf":"true"},{"id":"1","mandate_id":"1","floor_name_id":"17","room_type_id":"15","surface_type_id":"22","zone":"Batiment 1","custom_ref":"bureaux","surface":"21","name":"bureaux","controls_acceptance_threshold":"0","tnw_create_date":"2014-07-24 17:41:45","tnw_create_user_id":"1","tnw_update_date":"2014-07-25 07:20:50","tnw_update_user_id":"1","floor_name":"rez","surface_type_name":"Linoleum","room_type_name":"Bureau","use_on_occupancy":"1","programs":[{"id":"1032","cleaning_program_id":"73","room_id":"1","mandate_financial_proposal_id":"1","surface_to_clean":"21","employee_hourly_cost":"17.7","employee_hourly_cost_margin":"0","work_team_id":"145","tnw_create_date":"2014-10-13 11:21:06","tnw_create_user_id":"1","tnw_update_date":"2014-10-20 16:50:36","tnw_update_user_id":"1","name":"Bureaux - E3","program_calculation_method_id":"137","cleaning_services":[]}],"controls":[{"id":"28","control_id":"3","room_id":"1","mandate_financial_proposal_id":"25","tnw_create_date":"2014-10-16 13:27:23","tnw_create_user_id":"1","tnw_update_date":"0000-00-00 00:00:00","tnw_update_user_id":"0","name":"Locaux administratifs"},{"id":"14","control_id":"3","room_id":"1","mandate_financial_proposal_id":"1","tnw_create_date":"2014-10-13 11:27:21","tnw_create_user_id":"1","tnw_update_date":"0000-00-00 00:00:00","tnw_update_user_id":"0","name":"Locaux administratifs"}],"programs_ids":[{"id":"1032","cleaning_program_id":"73","room_id":"1","mandate_financial_proposal_id":"1","surface_to_clean":"21","employee_hourly_cost":"17.7","employee_hourly_cost_margin":"0","work_team_id":"145","tnw_create_date":"2014-10-13 11:21:06","tnw_create_user_id":"1","tnw_update_date":"2014-10-20 16:50:36","tnw_update_user_id":"1","name":"Bureaux - E3","program_calculation_method_id":"137","cleaning_services":[]}],"controls_ids":[{"id":"28","control_id":"3","room_id":"1","mandate_financial_proposal_id":"25","tnw_create_date":"2014-10-16 13:27:23","tnw_create_user_id":"1","tnw_update_date":"0000-00-00 00:00:00","tnw_update_user_id":"0","name":"Locaux administratifs"},{"id":"14","control_id":"3","room_id":"1","mandate_financial_proposal_id":"1","tnw_create_date":"2014-10-13 11:27:21","tnw_create_user_id":"1","tnw_update_date":"0000-00-00 00:00:00","tnw_update_user_id":"0","name":"Locaux administratifs"}],"path":"Batiment 1\/17\/1","text":"bureaux<span class=\"controls_nbr\" title=\"2 contr\u00f4les\">2<\/span><span class=\"programs_nbr\" title=\"1 programme de confort\">1<\/span>","leaf":"true"}]}]}]


There is somthing wrong ?

slemmon
4 Nov 2014, 10:28 PM
Hi,

What problems are you having?

jad_Topnetwork
4 Nov 2014, 11:24 PM
Hi thanks for reply
I've fixed it