Skip to content

Instantly share code, notes, and snippets.

@makamo
Last active August 29, 2015 14:13
Show Gist options
  • Save makamo/8f09d2e1d598e78b54ca to your computer and use it in GitHub Desktop.
Save makamo/8f09d2e1d598e78b54ca to your computer and use it in GitHub Desktop.
/src/Controller/SupervisionsController.php (line 31)
[
'id' => (int) 3,
'numero_contrat' => 'B08-002',
'po' => '',
'mobilisation' => (float) 3000,
'demobilisation' => (float) 3000,
'surtemps' => (int) 40,
'unite_de_mesure' => '',
'localisation_id' => (int) 3,
'entreprise_id' => (int) 1,
'begin' => object(Cake\I18n\Time) {
'time' => '-0001-11-30T00:00:00-0500',
'timezone' => 'America/Montreal',
'fixedNowTime' => false
},
'end' => null,
'created' => object(Cake\I18n\Time) {
'time' => '2014-09-03T19:03:00-0400',
'timezone' => 'America/Montreal',
'fixedNowTime' => false
},
'supervisions' => [
(int) 0 => [
'id' => (int) 1,
'contrat_id' => (int) 3,
'contrats_employee_id' => (int) 15,
'fonction_id' => (int) 4,
'quart' => (int) 3,
'date' => object(Cake\I18n\Time) {
'time' => '2014-12-14T00:00:00-0500',
'timezone' => 'America/Montreal',
'fixedNowTime' => false
},
'created' => object(Cake\I18n\Time) {
'time' => '2014-12-18T11:30:25-0500',
'timezone' => 'America/Montreal',
'fixedNowTime' => false
},
'updated' => object(Cake\I18n\Time) {
'time' => '-0001-11-30T00:00:00-0500',
'timezone' => 'America/Montreal',
'fixedNowTime' => false
},
'fonction' => [
'id' => (int) 4,
'name' => 'Surintendant',
'created' => object(Cake\I18n\Time) {
'time' => '2014-05-27T12:50:13-0400',
'timezone' => 'America/Montreal',
'fixedNowTime' => false
}
],
'contrats_employee' => [
'id' => (int) 15,
'contrat_id' => (int) 3,
'employee_id' => (int) 11,
'fonction_id' => (int) 4,
'begin' => object(Cake\I18n\Time) {
'time' => '-0001-11-30T00:00:00-0500',
'timezone' => 'America/Montreal',
'fixedNowTime' => false
},
'end' => object(Cake\I18n\Time) {
'time' => '-0001-11-30T00:00:00-0500',
'timezone' => 'America/Montreal',
'fixedNowTime' => false
},
'employee' => [
'id' => (int) 11,
'first_name' => 'Denis',
'last_name' => 'Béchard',
'adresse' => '',
'tel' => '',
'tel_bureau' => '',
'numero_poste' => '',
'courriel' => '',
'begin' => null,
'end' => null,
'code_ceridian' => '',
'memo' => '',
'activated' => true,
'name' => 'Denis Béchard'
]
]
],
(int) 1 => [
'id' => (int) 2,
'contrat_id' => (int) 3,
'contrats_employee_id' => (int) 15,
'fonction_id' => (int) 4,
'quart' => (int) 3,
'date' => object(Cake\I18n\Time) {
'time' => '2014-12-15T00:00:00-0500',
'timezone' => 'America/Montreal',
'fixedNowTime' => false
},
'created' => object(Cake\I18n\Time) {
'time' => '2015-01-08T09:43:23-0500',
'timezone' => 'America/Montreal',
'fixedNowTime' => false
},
'updated' => object(Cake\I18n\Time) {
'time' => '-0001-11-30T00:00:00-0500',
'timezone' => 'America/Montreal',
'fixedNowTime' => false
},
'fonction' => [
'id' => (int) 4,
'name' => 'Surintendant',
'created' => object(Cake\I18n\Time) {
'time' => '2014-05-27T12:50:13-0400',
'timezone' => 'America/Montreal',
'fixedNowTime' => false
}
],
'contrats_employee' => [
'id' => (int) 15,
'contrat_id' => (int) 3,
'employee_id' => (int) 11,
'fonction_id' => (int) 4,
'begin' => object(Cake\I18n\Time) {
'time' => '-0001-11-30T00:00:00-0500',
'timezone' => 'America/Montreal',
'fixedNowTime' => false
},
'end' => object(Cake\I18n\Time) {
'time' => '-0001-11-30T00:00:00-0500',
'timezone' => 'America/Montreal',
'fixedNowTime' => false
},
'employee' => [
'id' => (int) 11,
'first_name' => 'Denis',
'last_name' => 'Béchard',
'adresse' => '',
'tel' => '',
'tel_bureau' => '',
'numero_poste' => '',
'courriel' => '',
'begin' => null,
'end' => null,
'code_ceridian' => '',
'memo' => '',
'activated' => true,
'name' => 'Denis Béchard'
]
]
],
(int) 2 => [
'id' => (int) 3,
'contrat_id' => (int) 3,
'contrats_employee_id' => (int) 15,
'fonction_id' => (int) 4,
'quart' => (int) 3,
'date' => object(Cake\I18n\Time) {
'time' => '2014-12-16T00:00:00-0500',
'timezone' => 'America/Montreal',
'fixedNowTime' => false
},
'created' => object(Cake\I18n\Time) {
'time' => '2015-01-08T09:43:26-0500',
'timezone' => 'America/Montreal',
'fixedNowTime' => false
},
'updated' => object(Cake\I18n\Time) {
'time' => '-0001-11-30T00:00:00-0500',
'timezone' => 'America/Montreal',
'fixedNowTime' => false
},
'fonction' => [
'id' => (int) 4,
'name' => 'Surintendant',
'created' => object(Cake\I18n\Time) {
'time' => '2014-05-27T12:50:13-0400',
'timezone' => 'America/Montreal',
'fixedNowTime' => false
}
],
'contrats_employee' => [
'id' => (int) 15,
'contrat_id' => (int) 3,
'employee_id' => (int) 11,
'fonction_id' => (int) 4,
'begin' => object(Cake\I18n\Time) {
'time' => '-0001-11-30T00:00:00-0500',
'timezone' => 'America/Montreal',
'fixedNowTime' => false
},
'end' => object(Cake\I18n\Time) {
'time' => '-0001-11-30T00:00:00-0500',
'timezone' => 'America/Montreal',
'fixedNowTime' => false
},
'employee' => [
'id' => (int) 11,
'first_name' => 'Denis',
'last_name' => 'Béchard',
'adresse' => '',
'tel' => '',
'tel_bureau' => '',
'numero_poste' => '',
'courriel' => '',
'begin' => null,
'end' => null,
'code_ceridian' => '',
'memo' => '',
'activated' => true,
'name' => 'Denis Béchard'
]
]
],
(int) 3 => [
'id' => (int) 4,
'contrat_id' => (int) 3,
'contrats_employee_id' => (int) 15,
'fonction_id' => (int) 4,
'quart' => (int) 3,
'date' => object(Cake\I18n\Time) {
'time' => '2014-12-17T00:00:00-0500',
'timezone' => 'America/Montreal',
'fixedNowTime' => false
},
'created' => object(Cake\I18n\Time) {
'time' => '2015-01-08T09:43:27-0500',
'timezone' => 'America/Montreal',
'fixedNowTime' => false
},
'updated' => object(Cake\I18n\Time) {
'time' => '-0001-11-30T00:00:00-0500',
'timezone' => 'America/Montreal',
'fixedNowTime' => false
},
'fonction' => [
'id' => (int) 4,
'name' => 'Surintendant',
'created' => object(Cake\I18n\Time) {
'time' => '2014-05-27T12:50:13-0400',
'timezone' => 'America/Montreal',
'fixedNowTime' => false
}
],
'contrats_employee' => [
'id' => (int) 15,
'contrat_id' => (int) 3,
'employee_id' => (int) 11,
'fonction_id' => (int) 4,
'begin' => object(Cake\I18n\Time) {
'time' => '-0001-11-30T00:00:00-0500',
'timezone' => 'America/Montreal',
'fixedNowTime' => false
},
'end' => object(Cake\I18n\Time) {
'time' => '-0001-11-30T00:00:00-0500',
'timezone' => 'America/Montreal',
'fixedNowTime' => false
},
'employee' => [
'id' => (int) 11,
'first_name' => 'Denis',
'last_name' => 'Béchard',
'adresse' => '',
'tel' => '',
'tel_bureau' => '',
'numero_poste' => '',
'courriel' => '',
'begin' => null,
'end' => null,
'code_ceridian' => '',
'memo' => '',
'activated' => true,
'name' => 'Denis Béchard'
]
]
],
(int) 4 => [
'id' => (int) 5,
'contrat_id' => (int) 3,
'contrats_employee_id' => (int) 15,
'fonction_id' => (int) 4,
'quart' => (int) 3,
'date' => object(Cake\I18n\Time) {
'time' => '2014-12-18T00:00:00-0500',
'timezone' => 'America/Montreal',
'fixedNowTime' => false
},
'created' => object(Cake\I18n\Time) {
'time' => '2015-01-08T09:43:30-0500',
'timezone' => 'America/Montreal',
'fixedNowTime' => false
},
'updated' => object(Cake\I18n\Time) {
'time' => '-0001-11-30T00:00:00-0500',
'timezone' => 'America/Montreal',
'fixedNowTime' => false
},
'fonction' => [
'id' => (int) 4,
'name' => 'Surintendant',
'created' => object(Cake\I18n\Time) {
'time' => '2014-05-27T12:50:13-0400',
'timezone' => 'America/Montreal',
'fixedNowTime' => false
}
],
'contrats_employee' => [
'id' => (int) 15,
'contrat_id' => (int) 3,
'employee_id' => (int) 11,
'fonction_id' => (int) 4,
'begin' => object(Cake\I18n\Time) {
'time' => '-0001-11-30T00:00:00-0500',
'timezone' => 'America/Montreal',
'fixedNowTime' => false
},
'end' => object(Cake\I18n\Time) {
'time' => '-0001-11-30T00:00:00-0500',
'timezone' => 'America/Montreal',
'fixedNowTime' => false
},
'employee' => [
'id' => (int) 11,
'first_name' => 'Denis',
'last_name' => 'Béchard',
'adresse' => '',
'tel' => '',
'tel_bureau' => '',
'numero_poste' => '',
'courriel' => '',
'begin' => null,
'end' => null,
'code_ceridian' => '',
'memo' => '',
'activated' => true,
'name' => 'Denis Béchard'
]
]
],
(int) 5 => [
'id' => (int) 6,
'contrat_id' => (int) 3,
'contrats_employee_id' => (int) 15,
'fonction_id' => (int) 4,
'quart' => (int) 3,
'date' => object(Cake\I18n\Time) {
'time' => '2014-12-19T00:00:00-0500',
'timezone' => 'America/Montreal',
'fixedNowTime' => false
},
'created' => object(Cake\I18n\Time) {
'time' => '2015-01-08T09:43:31-0500',
'timezone' => 'America/Montreal',
'fixedNowTime' => false
},
'updated' => object(Cake\I18n\Time) {
'time' => '-0001-11-30T00:00:00-0500',
'timezone' => 'America/Montreal',
'fixedNowTime' => false
},
'fonction' => [
'id' => (int) 4,
'name' => 'Surintendant',
'created' => object(Cake\I18n\Time) {
'time' => '2014-05-27T12:50:13-0400',
'timezone' => 'America/Montreal',
'fixedNowTime' => false
}
],
'contrats_employee' => [
'id' => (int) 15,
'contrat_id' => (int) 3,
'employee_id' => (int) 11,
'fonction_id' => (int) 4,
'begin' => object(Cake\I18n\Time) {
'time' => '-0001-11-30T00:00:00-0500',
'timezone' => 'America/Montreal',
'fixedNowTime' => false
},
'end' => object(Cake\I18n\Time) {
'time' => '-0001-11-30T00:00:00-0500',
'timezone' => 'America/Montreal',
'fixedNowTime' => false
},
'employee' => [
'id' => (int) 11,
'first_name' => 'Denis',
'last_name' => 'Béchard',
'adresse' => '',
'tel' => '',
'tel_bureau' => '',
'numero_poste' => '',
'courriel' => '',
'begin' => null,
'end' => null,
'code_ceridian' => '',
'memo' => '',
'activated' => true,
'name' => 'Denis Béchard'
]
]
],
(int) 6 => [
'id' => (int) 7,
'contrat_id' => (int) 3,
'contrats_employee_id' => (int) 15,
'fonction_id' => (int) 4,
'quart' => (int) 3,
'date' => object(Cake\I18n\Time) {
'time' => '2014-12-20T00:00:00-0500',
'timezone' => 'America/Montreal',
'fixedNowTime' => false
},
'created' => object(Cake\I18n\Time) {
'time' => '2015-01-08T09:45:58-0500',
'timezone' => 'America/Montreal',
'fixedNowTime' => false
},
'updated' => object(Cake\I18n\Time) {
'time' => '-0001-11-30T00:00:00-0500',
'timezone' => 'America/Montreal',
'fixedNowTime' => false
},
'fonction' => [
'id' => (int) 4,
'name' => 'Surintendant',
'created' => object(Cake\I18n\Time) {
'time' => '2014-05-27T12:50:13-0400',
'timezone' => 'America/Montreal',
'fixedNowTime' => false
}
],
'contrats_employee' => [
'id' => (int) 15,
'contrat_id' => (int) 3,
'employee_id' => (int) 11,
'fonction_id' => (int) 4,
'begin' => object(Cake\I18n\Time) {
'time' => '-0001-11-30T00:00:00-0500',
'timezone' => 'America/Montreal',
'fixedNowTime' => false
},
'end' => object(Cake\I18n\Time) {
'time' => '-0001-11-30T00:00:00-0500',
'timezone' => 'America/Montreal',
'fixedNowTime' => false
},
'employee' => [
'id' => (int) 11,
'first_name' => 'Denis',
'last_name' => 'Béchard',
'adresse' => '',
'tel' => '',
'tel_bureau' => '',
'numero_poste' => '',
'courriel' => '',
'begin' => null,
'end' => null,
'code_ceridian' => '',
'memo' => '',
'activated' => true,
'name' => 'Denis Béchard'
]
]
],
(int) 7 => [
'id' => (int) 8,
'contrat_id' => (int) 3,
'contrats_employee_id' => (int) 16,
'fonction_id' => (int) 3,
'quart' => (int) 3,
'date' => object(Cake\I18n\Time) {
'time' => '2014-12-16T00:00:00-0500',
'timezone' => 'America/Montreal',
'fixedNowTime' => false
},
'created' => object(Cake\I18n\Time) {
'time' => '2015-01-08T10:13:05-0500',
'timezone' => 'America/Montreal',
'fixedNowTime' => false
},
'updated' => object(Cake\I18n\Time) {
'time' => '-0001-11-30T00:00:00-0500',
'timezone' => 'America/Montreal',
'fixedNowTime' => false
},
'fonction' => [
'id' => (int) 3,
'name' => 'Foreman',
'created' => object(Cake\I18n\Time) {
'time' => '2014-05-27T12:49:26-0400',
'timezone' => 'America/Montreal',
'fixedNowTime' => false
}
],
'contrats_employee' => [
'id' => (int) 16,
'contrat_id' => (int) 3,
'employee_id' => (int) 12,
'fonction_id' => (int) 3,
'begin' => object(Cake\I18n\Time) {
'time' => '-0001-11-30T00:00:00-0500',
'timezone' => 'America/Montreal',
'fixedNowTime' => false
},
'end' => object(Cake\I18n\Time) {
'time' => '-0001-11-30T00:00:00-0500',
'timezone' => 'America/Montreal',
'fixedNowTime' => false
},
'employee' => [
'id' => (int) 12,
'first_name' => 'Pascal ',
'last_name' => 'Pedneault',
'adresse' => '',
'tel' => '',
'tel_bureau' => '',
'numero_poste' => '',
'courriel' => '',
'begin' => null,
'end' => null,
'code_ceridian' => '',
'memo' => '',
'activated' => true,
'name' => 'Pascal Pedneault'
]
]
],
(int) 8 => [
'id' => (int) 9,
'contrat_id' => (int) 3,
'contrats_employee_id' => (int) 17,
'fonction_id' => (int) 3,
'quart' => (int) 3,
'date' => object(Cake\I18n\Time) {
'time' => '2014-12-16T00:00:00-0500',
'timezone' => 'America/Montreal',
'fixedNowTime' => false
},
'created' => object(Cake\I18n\Time) {
'time' => '2015-01-08T10:13:25-0500',
'timezone' => 'America/Montreal',
'fixedNowTime' => false
},
'updated' => object(Cake\I18n\Time) {
'time' => '-0001-11-30T00:00:00-0500',
'timezone' => 'America/Montreal',
'fixedNowTime' => false
},
'fonction' => [
'id' => (int) 3,
'name' => 'Foreman',
'created' => object(Cake\I18n\Time) {
'time' => '2014-05-27T12:49:26-0400',
'timezone' => 'America/Montreal',
'fixedNowTime' => false
}
],
'contrats_employee' => [
'id' => (int) 17,
'contrat_id' => (int) 3,
'employee_id' => (int) 14,
'fonction_id' => (int) 3,
'begin' => object(Cake\I18n\Time) {
'time' => '-0001-11-30T00:00:00-0500',
'timezone' => 'America/Montreal',
'fixedNowTime' => false
},
'end' => object(Cake\I18n\Time) {
'time' => '-0001-11-30T00:00:00-0500',
'timezone' => 'America/Montreal',
'fixedNowTime' => false
},
'employee' => [
'id' => (int) 14,
'first_name' => 'Francis ',
'last_name' => 'Dion',
'adresse' => '',
'tel' => '',
'tel_bureau' => '',
'numero_poste' => '',
'courriel' => '',
'begin' => null,
'end' => null,
'code_ceridian' => '',
'memo' => '',
'activated' => true,
'name' => 'Francis Dion'
]
]
]
]
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment