Code Context if (!empty($sample['Potency'][0]['cbn']) && is_numeric($sample['Potency'][0]['cbn'])) $total += $sample['Potency'][0]['cbn'];
if (!empty($sample['Potency'][0]['d9_thc']) && is_numeric($sample['Potency'][0]['d9_thc'])) $total += $sample['Potency'][0]['d9_thc'];
if (!empty($sample['Potency'][0]['thca']) && is_numeric($sample['Potency'][0]['cbda'])) $total += $sample['Potency'][0]['thca'];
$viewFile = '/chroot/home/ironlabs/dev.ironlaboratories.com/html/app/Plugin/Samples/View/Elements/sample.ctp'
$dataForView = array(
'modelClass' => 'User',
'body_class' => 'view',
'body_id' => 'users',
'seo_title' => 'Iron Laboratories - Randall',
'domain' => 'dev.ironlaboratories.com',
'result' => array(
'User' => array(
'password' => '*****',
'id' => '1000589',
'created' => '2016-03-30 20:32:05',
'modified' => '2016-11-22 18:13:43',
'renewal_date' => null,
'updated' => true,
'account_type' => '0',
'plan_id' => 'standard',
'status_id' => '2',
'group_id' => '2',
'location_id' => '2',
'customer_vault_id' => null,
'last_login' => '2016-11-22 18:13:43',
'type' => null,
'name' => 'Randall',
'username' => 'Randall',
'api_key' => 'd782a5014d2b421b7d44',
'pin' => null,
'contact_name' => 'Randall Carlsen',
'phone' => '541-952-9623',
'store_phone' => null,
'address' => '27549 4th St.',
'state' => 'OR',
'zip' => '97448',
'store' => '0',
'osun' => null,
'closesun' => null,
'omon' => null,
'closemon' => null,
'otue' => null,
'closetue' => null,
'owed' => null,
'closewed' => null,
'othr' => null,
'closethr' => null,
'ofri' => null,
'closefri' => null,
'osat' => null,
'closesat' => null,
'email' => 'oops1of5@hotmail.com',
'email2' => null,
'email3' => null,
'email4' => null,
'email5' => null,
'city' => 'Junction City',
'logo' => null,
'facebook' => null,
'twitter' => null,
'thc_finder' => null,
'weed_maps' => null,
'leafly' => null,
'website' => null,
'youtube' => null,
'latitude' => '44.1309710',
'longitude' => '-123.2633990',
'notes' => null,
'weed_maps_id' => null,
'driver_identification_card' => null,
'patient_card' => null,
'question' => '',
'processors_id' => null,
'grower_id' => null,
'medical_id' => null,
'license_number' => null,
'default_visible' => true
)
),
'samples' => array(
(int) 0 => array(
'Asset' => array(
[maximum depth reached]
),
'User' => array(
[maximum depth reached]
),
'SampleType' => array(
[maximum depth reached]
),
'Location' => array(
[maximum depth reached]
),
'Stage' => array(
[maximum depth reached]
),
'Bio' => array(
[maximum depth reached]
),
'HeavyMetal' => array([maximum depth reached]),
'MicroBio' => array([maximum depth reached]),
'Potency' => array(
[maximum depth reached]
),
'Rsa' => array([maximum depth reached]),
'Terpene' => array([maximum depth reached]),
'Pesticide' => array([maximum depth reached]),
'Attachment' => array([maximum depth reached]),
'InvoiceItem' => array(
[maximum depth reached]
)
),
(int) 1 => array(
'Asset' => array(
[maximum depth reached]
),
'User' => array(
[maximum depth reached]
),
'SampleType' => array(
[maximum depth reached]
),
'Location' => array(
[maximum depth reached]
),
'Stage' => array(
[maximum depth reached]
),
'Bio' => array(
[maximum depth reached]
),
'HeavyMetal' => array([maximum depth reached]),
'MicroBio' => array([maximum depth reached]),
'Potency' => array(
[maximum depth reached]
),
'Rsa' => array([maximum depth reached]),
'Terpene' => array([maximum depth reached]),
'Pesticide' => array([maximum depth reached]),
'Attachment' => array([maximum depth reached]),
'InvoiceItem' => array(
[maximum depth reached]
)
),
(int) 2 => array(
'Asset' => array(
[maximum depth reached]
),
'User' => array(
[maximum depth reached]
),
'SampleType' => array(
[maximum depth reached]
),
'Location' => array(
[maximum depth reached]
),
'Stage' => array(
[maximum depth reached]
),
'Bio' => array(
[maximum depth reached]
),
'HeavyMetal' => array([maximum depth reached]),
'MicroBio' => array([maximum depth reached]),
'Potency' => array(
[maximum depth reached]
),
'Rsa' => array([maximum depth reached]),
'Terpene' => array([maximum depth reached]),
'Pesticide' => array([maximum depth reached]),
'Attachment' => array([maximum depth reached]),
'InvoiceItem' => array(
[maximum depth reached]
)
)
),
'title' => 'Randall',
'sample' => array(
'Asset' => array(
'id' => '79584',
'created' => '2016-03-30 20:34:59',
'modified' => '2018-06-25 18:17:37',
'status_id' => '2',
'category_id' => null,
'client_id' => '1000589',
'metrc_id' => null,
'source_metrc_label_tag' => null,
'manifest_id' => null,
'manifest' => null,
'stage_id' => '5',
'metrc_tested' => null,
'location_id' => '2',
'priority' => false,
'condition' => '0',
'tag' => null,
'name' => 'Black Tuna RSO',
'type' => '3',
'serving_size' => '0.2',
'total_batch_weight' => '0',
'driver_notes' => 'Potency',
'visible' => '1',
'receive_time' => '2016-03-31',
'30x' => 'https://s3-us-west-2.amazonaws.com/il30ximages/1459444351.jpg',
'240x' => null,
'qr_code' => null,
'batch_number' => null,
'harvest_date' => null,
'harvest_lot' => null,
'package_weight' => null,
'increments' => null,
'batch_weight' => null,
'total_weight' => null,
'ShippedUnitOfMeasureName' => null,
'weedmaps' => '0',
'weed_maps_status' => null,
'weedmaps_message' => null,
'activation_time' => null,
'container_id' => null,
'layer_height' => null,
'divisions' => null,
'shape' => null,
'container_material' => null,
'tamperproof_id' => null,
'density' => null,
'storage_conditions' => null,
'size' => null,
'color' => null,
'opacity' => null,
'uniformity' => null,
'leaf' => null,
'stem' => null,
'seed' => null,
'observations' => null,
'anomalies' => null,
'process_lot' => '0',
'control_study' => null,
'attestation' => 'No',
'pdf' => null,
'balance_sn' => null,
'test_weight_sn' => null,
'actual_weight' => null,
'observed_weight' => null
),
'User' => array(
'password' => '*****',
'id' => '1000589',
'created' => '2016-03-30 20:32:05',
'modified' => '2016-11-22 18:13:43',
'renewal_date' => null,
'updated' => true,
'account_type' => '0',
'plan_id' => 'standard',
'status_id' => '2',
'group_id' => '2',
'location_id' => '2',
'customer_vault_id' => null,
'last_login' => '2016-11-22 18:13:43',
'type' => null,
'name' => 'Randall',
'username' => 'Randall',
'api_key' => 'd782a5014d2b421b7d44',
'pin' => null,
'contact_name' => 'Randall Carlsen',
'phone' => '541-952-9623',
'store_phone' => null,
'address' => '27549 4th St.',
'state' => 'OR',
'zip' => '97448',
'store' => '0',
'osun' => null,
'closesun' => null,
'omon' => null,
'closemon' => null,
'otue' => null,
'closetue' => null,
'owed' => null,
'closewed' => null,
'othr' => null,
'closethr' => null,
'ofri' => null,
'closefri' => null,
'osat' => null,
'closesat' => null,
'email' => 'oops1of5@hotmail.com',
'email2' => null,
'email3' => null,
'email4' => null,
'email5' => null,
'city' => 'Junction City',
'logo' => null,
'facebook' => null,
'twitter' => null,
'thc_finder' => null,
'weed_maps' => null,
'leafly' => null,
'website' => null,
'youtube' => null,
'latitude' => '44.1309710',
'longitude' => '-123.2633990',
'notes' => null,
'weed_maps_id' => null,
'driver_identification_card' => null,
'patient_card' => null,
'question' => '',
'processors_id' => null,
'grower_id' => null,
'medical_id' => null,
'license_number' => null,
'default_visible' => true
),
'SampleType' => array(
'id' => '3',
'created' => '2018-04-25 00:00:00',
'modified' => '2025-04-28 19:18:15',
'name' => 'Infused Product',
'type' => '1'
),
'Location' => array(
'id' => '2',
'created' => '1999-11-30 09:09:00',
'modified' => '2019-07-19 00:00:22',
'status_id' => '2',
'name' => 'Iron Laboratories Oregon',
'address' => ' 71 Centennial Loop Suite D',
'city' => 'Eugene',
'state' => 'Oregon',
'state_abbrev' => 'OR',
'zip' => '97401',
'phone' => '5412070555',
'latitude' => null,
'longitude' => null
),
'Stage' => array(
'id' => '5',
'weight' => '11',
'name' => 'Ready'
),
'Bio' => array(
(int) 0 => array(
[maximum depth reached]
)
),
'HeavyMetal' => array(),
'MicroBio' => array(),
'Potency' => array(
(int) 0 => array(
[maximum depth reached]
)
),
'Rsa' => array(),
'Terpene' => array(),
'Pesticide' => array(),
'Attachment' => array(),
'InvoiceItem' => array(
(int) 0 => array(
[maximum depth reached]
)
)
)
)
$modelClass = 'User'
$body_class = 'view'
$body_id = 'users'
$seo_title = 'Iron Laboratories - Randall'
$domain = 'dev.ironlaboratories.com'
$result = array(
'User' => array(
'password' => '*****',
'id' => '1000589',
'created' => '2016-03-30 20:32:05',
'modified' => '2016-11-22 18:13:43',
'renewal_date' => null,
'updated' => true,
'account_type' => '0',
'plan_id' => 'standard',
'status_id' => '2',
'group_id' => '2',
'location_id' => '2',
'customer_vault_id' => null,
'last_login' => '2016-11-22 18:13:43',
'type' => null,
'name' => 'Randall',
'username' => 'Randall',
'api_key' => 'd782a5014d2b421b7d44',
'pin' => null,
'contact_name' => 'Randall Carlsen',
'phone' => '541-952-9623',
'store_phone' => null,
'address' => '27549 4th St.',
'state' => 'OR',
'zip' => '97448',
'store' => '0',
'osun' => null,
'closesun' => null,
'omon' => null,
'closemon' => null,
'otue' => null,
'closetue' => null,
'owed' => null,
'closewed' => null,
'othr' => null,
'closethr' => null,
'ofri' => null,
'closefri' => null,
'osat' => null,
'closesat' => null,
'email' => 'oops1of5@hotmail.com',
'email2' => null,
'email3' => null,
'email4' => null,
'email5' => null,
'city' => 'Junction City',
'logo' => null,
'facebook' => null,
'twitter' => null,
'thc_finder' => null,
'weed_maps' => null,
'leafly' => null,
'website' => null,
'youtube' => null,
'latitude' => '44.1309710',
'longitude' => '-123.2633990',
'notes' => null,
'weed_maps_id' => null,
'driver_identification_card' => null,
'patient_card' => null,
'question' => '',
'processors_id' => null,
'grower_id' => null,
'medical_id' => null,
'license_number' => null,
'default_visible' => true
)
)
$samples = array(
(int) 0 => array(
'Asset' => array(
'id' => '85970',
'created' => '2016-10-04 20:47:05',
'modified' => '2018-06-25 18:18:17',
'status_id' => '2',
'category_id' => null,
'client_id' => '1000589',
'metrc_id' => null,
'source_metrc_label_tag' => null,
'manifest_id' => null,
'manifest' => null,
'stage_id' => '5',
'metrc_tested' => null,
'location_id' => '2',
'priority' => false,
'condition' => '0',
'tag' => null,
'name' => 'GG 12',
'type' => '1',
'serving_size' => '45678',
'total_batch_weight' => '0',
'driver_notes' => '',
'visible' => '1',
'receive_time' => '2016-10-04',
'30x' => 'https://s3-us-west-2.amazonaws.com/il30ximages/1475793194.jpg',
'240x' => 'https://s3-us-west-2.amazonaws.com/il240ximages/1475793194.jpg',
'qr_code' => null,
'batch_number' => '',
'harvest_date' => '2016-10-05',
'harvest_lot' => null,
'package_weight' => null,
'increments' => null,
'batch_weight' => null,
'total_weight' => null,
'ShippedUnitOfMeasureName' => null,
'weedmaps' => '0',
'weed_maps_status' => null,
'weedmaps_message' => null,
'activation_time' => null,
'container_id' => null,
'layer_height' => null,
'divisions' => null,
'shape' => null,
'container_material' => null,
'tamperproof_id' => null,
'density' => null,
'storage_conditions' => null,
'size' => null,
'color' => null,
'opacity' => null,
'uniformity' => null,
'leaf' => null,
'stem' => null,
'seed' => null,
'observations' => null,
'anomalies' => null,
'process_lot' => '0',
'control_study' => null,
'attestation' => 'No',
'pdf' => null,
'balance_sn' => null,
'test_weight_sn' => null,
'actual_weight' => null,
'observed_weight' => null
),
'User' => array(
'password' => '*****',
'id' => '1000589',
'created' => '2016-03-30 20:32:05',
'modified' => '2016-11-22 18:13:43',
'renewal_date' => null,
'updated' => true,
'account_type' => '0',
'plan_id' => 'standard',
'status_id' => '2',
'group_id' => '2',
'location_id' => '2',
'customer_vault_id' => null,
'last_login' => '2016-11-22 18:13:43',
'type' => null,
'name' => 'Randall',
'username' => 'Randall',
'api_key' => 'd782a5014d2b421b7d44',
'pin' => null,
'contact_name' => 'Randall Carlsen',
'phone' => '541-952-9623',
'store_phone' => null,
'address' => '27549 4th St.',
'state' => 'OR',
'zip' => '97448',
'store' => '0',
'osun' => null,
'closesun' => null,
'omon' => null,
'closemon' => null,
'otue' => null,
'closetue' => null,
'owed' => null,
'closewed' => null,
'othr' => null,
'closethr' => null,
'ofri' => null,
'closefri' => null,
'osat' => null,
'closesat' => null,
'email' => 'oops1of5@hotmail.com',
'email2' => null,
'email3' => null,
'email4' => null,
'email5' => null,
'city' => 'Junction City',
'logo' => null,
'facebook' => null,
'twitter' => null,
'thc_finder' => null,
'weed_maps' => null,
'leafly' => null,
'website' => null,
'youtube' => null,
'latitude' => '44.1309710',
'longitude' => '-123.2633990',
'notes' => null,
'weed_maps_id' => null,
'driver_identification_card' => null,
'patient_card' => null,
'question' => '',
'processors_id' => null,
'grower_id' => null,
'medical_id' => null,
'license_number' => null,
'default_visible' => true
),
'SampleType' => array(
'id' => '1',
'created' => '2018-04-25 00:00:00',
'modified' => '2024-08-01 15:22:19',
'name' => ' Flower',
'type' => '0'
),
'Location' => array(
'id' => '2',
'created' => '1999-11-30 09:09:00',
'modified' => '2019-07-19 00:00:22',
'status_id' => '2',
'name' => 'Iron Laboratories Oregon',
'address' => ' 71 Centennial Loop Suite D',
'city' => 'Eugene',
'state' => 'Oregon',
'state_abbrev' => 'OR',
'zip' => '97401',
'phone' => '5412070555',
'latitude' => null,
'longitude' => null
),
'Stage' => array(
'id' => '5',
'weight' => '11',
'name' => 'Ready'
),
'Bio' => array(
(int) 0 => array(
[maximum depth reached]
)
),
'HeavyMetal' => array(),
'MicroBio' => array(),
'Potency' => array(
(int) 0 => array(
[maximum depth reached]
)
),
'Rsa' => array(),
'Terpene' => array(),
'Pesticide' => array(),
'Attachment' => array(),
'InvoiceItem' => array(
(int) 0 => array(
[maximum depth reached]
)
)
),
(int) 1 => array(
'Asset' => array(
'id' => '79969',
'created' => '2016-04-08 20:57:28',
'modified' => '2018-06-25 18:17:38',
'status_id' => '2',
'category_id' => null,
'client_id' => '1000589',
'metrc_id' => null,
'source_metrc_label_tag' => null,
'manifest_id' => null,
'manifest' => null,
'stage_id' => '5',
'metrc_tested' => null,
'location_id' => '2',
'priority' => false,
'condition' => '0',
'tag' => null,
'name' => 'Headband',
'type' => '2',
'serving_size' => '39878',
'total_batch_weight' => '0',
'driver_notes' => 'Potency Test',
'visible' => '1',
'receive_time' => '2016-04-08',
'30x' => 'https://s3-us-west-2.amazonaws.com/il30ximages/1460400471.jpg',
'240x' => null,
'qr_code' => null,
'batch_number' => null,
'harvest_date' => null,
'harvest_lot' => null,
'package_weight' => null,
'increments' => null,
'batch_weight' => null,
'total_weight' => null,
'ShippedUnitOfMeasureName' => null,
'weedmaps' => '0',
'weed_maps_status' => null,
'weedmaps_message' => null,
'activation_time' => null,
'container_id' => null,
'layer_height' => null,
'divisions' => null,
'shape' => null,
'container_material' => null,
'tamperproof_id' => null,
'density' => null,
'storage_conditions' => null,
'size' => null,
'color' => null,
'opacity' => null,
'uniformity' => null,
'leaf' => null,
'stem' => null,
'seed' => null,
'observations' => null,
'anomalies' => null,
'process_lot' => '0',
'control_study' => null,
'attestation' => 'No',
'pdf' => null,
'balance_sn' => null,
'test_weight_sn' => null,
'actual_weight' => null,
'observed_weight' => null
),
'User' => array(
'password' => '*****',
'id' => '1000589',
'created' => '2016-03-30 20:32:05',
'modified' => '2016-11-22 18:13:43',
'renewal_date' => null,
'updated' => true,
'account_type' => '0',
'plan_id' => 'standard',
'status_id' => '2',
'group_id' => '2',
'location_id' => '2',
'customer_vault_id' => null,
'last_login' => '2016-11-22 18:13:43',
'type' => null,
'name' => 'Randall',
'username' => 'Randall',
'api_key' => 'd782a5014d2b421b7d44',
'pin' => null,
'contact_name' => 'Randall Carlsen',
'phone' => '541-952-9623',
'store_phone' => null,
'address' => '27549 4th St.',
'state' => 'OR',
'zip' => '97448',
'store' => '0',
'osun' => null,
'closesun' => null,
'omon' => null,
'closemon' => null,
'otue' => null,
'closetue' => null,
'owed' => null,
'closewed' => null,
'othr' => null,
'closethr' => null,
'ofri' => null,
'closefri' => null,
'osat' => null,
'closesat' => null,
'email' => 'oops1of5@hotmail.com',
'email2' => null,
'email3' => null,
'email4' => null,
'email5' => null,
'city' => 'Junction City',
'logo' => null,
'facebook' => null,
'twitter' => null,
'thc_finder' => null,
'weed_maps' => null,
'leafly' => null,
'website' => null,
'youtube' => null,
'latitude' => '44.1309710',
'longitude' => '-123.2633990',
'notes' => null,
'weed_maps_id' => null,
'driver_identification_card' => null,
'patient_card' => null,
'question' => '',
'processors_id' => null,
'grower_id' => null,
'medical_id' => null,
'license_number' => null,
'default_visible' => true
),
'SampleType' => array(
'id' => '2',
'created' => '2018-04-25 00:00:00',
'modified' => '2024-08-01 15:22:37',
'name' => 'Medical Compliant Flower',
'type' => '0'
),
'Location' => array(
'id' => '2',
'created' => '1999-11-30 09:09:00',
'modified' => '2019-07-19 00:00:22',
'status_id' => '2',
'name' => 'Iron Laboratories Oregon',
'address' => ' 71 Centennial Loop Suite D',
'city' => 'Eugene',
'state' => 'Oregon',
'state_abbrev' => 'OR',
'zip' => '97401',
'phone' => '5412070555',
'latitude' => null,
'longitude' => null
),
'Stage' => array(
'id' => '5',
'weight' => '11',
'name' => 'Ready'
),
'Bio' => array(
(int) 0 => array(
[maximum depth reached]
)
),
'HeavyMetal' => array(),
'MicroBio' => array(),
'Potency' => array(
(int) 0 => array(
[maximum depth reached]
)
),
'Rsa' => array(),
'Terpene' => array(),
'Pesticide' => array(),
'Attachment' => array(),
'InvoiceItem' => array(
(int) 0 => array(
[maximum depth reached]
)
)
),
(int) 2 => array(
'Asset' => array(
'id' => '79584',
'created' => '2016-03-30 20:34:59',
'modified' => '2018-06-25 18:17:37',
'status_id' => '2',
'category_id' => null,
'client_id' => '1000589',
'metrc_id' => null,
'source_metrc_label_tag' => null,
'manifest_id' => null,
'manifest' => null,
'stage_id' => '5',
'metrc_tested' => null,
'location_id' => '2',
'priority' => false,
'condition' => '0',
'tag' => null,
'name' => 'Black Tuna RSO',
'type' => '3',
'serving_size' => '0.2',
'total_batch_weight' => '0',
'driver_notes' => 'Potency',
'visible' => '1',
'receive_time' => '2016-03-31',
'30x' => 'https://s3-us-west-2.amazonaws.com/il30ximages/1459444351.jpg',
'240x' => null,
'qr_code' => null,
'batch_number' => null,
'harvest_date' => null,
'harvest_lot' => null,
'package_weight' => null,
'increments' => null,
'batch_weight' => null,
'total_weight' => null,
'ShippedUnitOfMeasureName' => null,
'weedmaps' => '0',
'weed_maps_status' => null,
'weedmaps_message' => null,
'activation_time' => null,
'container_id' => null,
'layer_height' => null,
'divisions' => null,
'shape' => null,
'container_material' => null,
'tamperproof_id' => null,
'density' => null,
'storage_conditions' => null,
'size' => null,
'color' => null,
'opacity' => null,
'uniformity' => null,
'leaf' => null,
'stem' => null,
'seed' => null,
'observations' => null,
'anomalies' => null,
'process_lot' => '0',
'control_study' => null,
'attestation' => 'No',
'pdf' => null,
'balance_sn' => null,
'test_weight_sn' => null,
'actual_weight' => null,
'observed_weight' => null
),
'User' => array(
'password' => '*****',
'id' => '1000589',
'created' => '2016-03-30 20:32:05',
'modified' => '2016-11-22 18:13:43',
'renewal_date' => null,
'updated' => true,
'account_type' => '0',
'plan_id' => 'standard',
'status_id' => '2',
'group_id' => '2',
'location_id' => '2',
'customer_vault_id' => null,
'last_login' => '2016-11-22 18:13:43',
'type' => null,
'name' => 'Randall',
'username' => 'Randall',
'api_key' => 'd782a5014d2b421b7d44',
'pin' => null,
'contact_name' => 'Randall Carlsen',
'phone' => '541-952-9623',
'store_phone' => null,
'address' => '27549 4th St.',
'state' => 'OR',
'zip' => '97448',
'store' => '0',
'osun' => null,
'closesun' => null,
'omon' => null,
'closemon' => null,
'otue' => null,
'closetue' => null,
'owed' => null,
'closewed' => null,
'othr' => null,
'closethr' => null,
'ofri' => null,
'closefri' => null,
'osat' => null,
'closesat' => null,
'email' => 'oops1of5@hotmail.com',
'email2' => null,
'email3' => null,
'email4' => null,
'email5' => null,
'city' => 'Junction City',
'logo' => null,
'facebook' => null,
'twitter' => null,
'thc_finder' => null,
'weed_maps' => null,
'leafly' => null,
'website' => null,
'youtube' => null,
'latitude' => '44.1309710',
'longitude' => '-123.2633990',
'notes' => null,
'weed_maps_id' => null,
'driver_identification_card' => null,
'patient_card' => null,
'question' => '',
'processors_id' => null,
'grower_id' => null,
'medical_id' => null,
'license_number' => null,
'default_visible' => true
),
'SampleType' => array(
'id' => '3',
'created' => '2018-04-25 00:00:00',
'modified' => '2025-04-28 19:18:15',
'name' => 'Infused Product',
'type' => '1'
),
'Location' => array(
'id' => '2',
'created' => '1999-11-30 09:09:00',
'modified' => '2019-07-19 00:00:22',
'status_id' => '2',
'name' => 'Iron Laboratories Oregon',
'address' => ' 71 Centennial Loop Suite D',
'city' => 'Eugene',
'state' => 'Oregon',
'state_abbrev' => 'OR',
'zip' => '97401',
'phone' => '5412070555',
'latitude' => null,
'longitude' => null
),
'Stage' => array(
'id' => '5',
'weight' => '11',
'name' => 'Ready'
),
'Bio' => array(
(int) 0 => array(
[maximum depth reached]
)
),
'HeavyMetal' => array(),
'MicroBio' => array(),
'Potency' => array(
(int) 0 => array(
[maximum depth reached]
)
),
'Rsa' => array(),
'Terpene' => array(),
'Pesticide' => array(),
'Attachment' => array(),
'InvoiceItem' => array(
(int) 0 => array(
[maximum depth reached]
)
)
)
)
$title = 'Randall'
$sample = array(
'Asset' => array(
'id' => '79584',
'created' => '2016-03-30 20:34:59',
'modified' => '2018-06-25 18:17:37',
'status_id' => '2',
'category_id' => null,
'client_id' => '1000589',
'metrc_id' => null,
'source_metrc_label_tag' => null,
'manifest_id' => null,
'manifest' => null,
'stage_id' => '5',
'metrc_tested' => null,
'location_id' => '2',
'priority' => false,
'condition' => '0',
'tag' => null,
'name' => 'Black Tuna RSO',
'type' => '3',
'serving_size' => '0.2',
'total_batch_weight' => '0',
'driver_notes' => 'Potency',
'visible' => '1',
'receive_time' => '2016-03-31',
'30x' => 'https://s3-us-west-2.amazonaws.com/il30ximages/1459444351.jpg',
'240x' => null,
'qr_code' => null,
'batch_number' => null,
'harvest_date' => null,
'harvest_lot' => null,
'package_weight' => null,
'increments' => null,
'batch_weight' => null,
'total_weight' => null,
'ShippedUnitOfMeasureName' => null,
'weedmaps' => '0',
'weed_maps_status' => null,
'weedmaps_message' => null,
'activation_time' => null,
'container_id' => null,
'layer_height' => null,
'divisions' => null,
'shape' => null,
'container_material' => null,
'tamperproof_id' => null,
'density' => null,
'storage_conditions' => null,
'size' => null,
'color' => null,
'opacity' => null,
'uniformity' => null,
'leaf' => null,
'stem' => null,
'seed' => null,
'observations' => null,
'anomalies' => null,
'process_lot' => '0',
'control_study' => null,
'attestation' => 'No',
'pdf' => null,
'balance_sn' => null,
'test_weight_sn' => null,
'actual_weight' => null,
'observed_weight' => null
),
'User' => array(
'password' => '*****',
'id' => '1000589',
'created' => '2016-03-30 20:32:05',
'modified' => '2016-11-22 18:13:43',
'renewal_date' => null,
'updated' => true,
'account_type' => '0',
'plan_id' => 'standard',
'status_id' => '2',
'group_id' => '2',
'location_id' => '2',
'customer_vault_id' => null,
'last_login' => '2016-11-22 18:13:43',
'type' => null,
'name' => 'Randall',
'username' => 'Randall',
'api_key' => 'd782a5014d2b421b7d44',
'pin' => null,
'contact_name' => 'Randall Carlsen',
'phone' => '541-952-9623',
'store_phone' => null,
'address' => '27549 4th St.',
'state' => 'OR',
'zip' => '97448',
'store' => '0',
'osun' => null,
'closesun' => null,
'omon' => null,
'closemon' => null,
'otue' => null,
'closetue' => null,
'owed' => null,
'closewed' => null,
'othr' => null,
'closethr' => null,
'ofri' => null,
'closefri' => null,
'osat' => null,
'closesat' => null,
'email' => 'oops1of5@hotmail.com',
'email2' => null,
'email3' => null,
'email4' => null,
'email5' => null,
'city' => 'Junction City',
'logo' => null,
'facebook' => null,
'twitter' => null,
'thc_finder' => null,
'weed_maps' => null,
'leafly' => null,
'website' => null,
'youtube' => null,
'latitude' => '44.1309710',
'longitude' => '-123.2633990',
'notes' => null,
'weed_maps_id' => null,
'driver_identification_card' => null,
'patient_card' => null,
'question' => '',
'processors_id' => null,
'grower_id' => null,
'medical_id' => null,
'license_number' => null,
'default_visible' => true
),
'SampleType' => array(
'id' => '3',
'created' => '2018-04-25 00:00:00',
'modified' => '2025-04-28 19:18:15',
'name' => 'Infused Product',
'type' => '1'
),
'Location' => array(
'id' => '2',
'created' => '1999-11-30 09:09:00',
'modified' => '2019-07-19 00:00:22',
'status_id' => '2',
'name' => 'Iron Laboratories Oregon',
'address' => ' 71 Centennial Loop Suite D',
'city' => 'Eugene',
'state' => 'Oregon',
'state_abbrev' => 'OR',
'zip' => '97401',
'phone' => '5412070555',
'latitude' => null,
'longitude' => null
),
'Stage' => array(
'id' => '5',
'weight' => '11',
'name' => 'Ready'
),
'Bio' => array(
(int) 0 => array(
'id' => '79584',
'sample_id' => '79584',
'layout' => 'default',
'created' => '2016-03-30 20:34:59',
'modified' => '2017-04-03 15:01:24',
'tested' => '2016-03-31',
'valid_date' => '2017-03-31',
'publish' => true,
'revision' => null,
'method_id' => '4',
'machine_id' => '2',
'accreditation_id' => null,
'signature_id' => null,
'signature2_id' => null,
'location_id' => '2',
'compliance_id' => null,
'scale' => 'XS205-OR1',
'temp' => '20.7',
'baro_pressure' => '1007',
'analyst' => 'BI',
'technician' => 'BI',
'impurities' => false,
'impurities_notes' => '',
'molds' => false,
'pests' => '0',
'anthers' => '0',
'detritus' => '0',
'fibers' => '0',
'hair' => '0',
'mature_seeds' => '0',
'premature_seeds' => '0',
'unidentified_foliar_spray' => false,
'other_imputities' => '0',
'moisture' => null,
'mold_count' => '0',
'e_coli_count' => '0',
'salmonella_count' => '0',
'aerobic_microbial_count' => '0',
'water_activity' => '0',
'other_molds' => false,
'hyphae' => false,
'mildew' => false,
'spider_mites' => false,
'russet_mites' => false,
'predator_mites' => false,
'other_mites' => false,
'thrips' => false,
'aphids' => false,
'other_invertebrate_pests' => false,
's_mold' => null,
's_mites' => null,
's_russet' => null,
's_thrips' => null,
's_aphids' => null,
's_opests' => null,
's_omatter' => null,
's_imatter' => null,
's_mold_pass' => 'Pass',
's_mites_pass' => 'Pass',
's_russet_pass' => 'Pass',
's_thrips_pass' => 'Pass',
's_aphids_pass' => 'Pass',
's_opests_pass' => 'Pass',
's_omatter_pass' => 'Pass',
's_imatter_pass' => 'Pass',
'total_ofmatter' => null,
'ifmatter' => null,
'stem_material' => null,
'total_ofmatter_pass' => 'Pass',
'ifmatter_pass' => 'Pass',
'stem_material_pass' => 'Pass',
'comments' => null,
'sig_figs' => '1'
)
),
'HeavyMetal' => array(),
'MicroBio' => array(),
'Potency' => array(
(int) 0 => array(
'id' => '79584',
'created' => '2016-03-30 20:34:59',
'modified' => '2017-04-03 15:01:24',
'tested' => '2016-03-31',
'valid_date' => '2017-03-31',
'sample_id' => '79584',
'publish' => true,
'revision' => null,
'method_id' => '4',
'machine_id' => '2',
'accreditation_id' => null,
'instrument_id' => null,
'signature_id' => '1',
'signature2_id' => '3',
'location_id' => '2',
'compliance_id' => null,
'scale' => 'XS205-OR1',
'temp' => '20.7',
'baro_pressure' => '1007',
'analyst' => 'BI',
'technician' => 'BI',
'water_activity' => null,
'water_activity_status' => true,
'moisture' => null,
'moisture_corrected' => false,
'lod' => '0.1',
'rsd' => '5',
'sig_figs' => '1',
'cbdva' => 'N/D',
'cbdv' => '40.0',
'thcv' => '20.0',
'thcva' => 'N/D',
'cbda' => '13.0',
'cbga' => null,
'cbc' => '21.0',
'cbd' => '138.0',
'd8_thc' => 'N/D',
'd9_thc' => '495.0',
'cbg' => '11.0',
'cbn' => '3.0',
'cbca' => 'N/D',
'cbl' => 'N/D',
'cbna' => 'N/D',
'thca' => 'N/D',
'duplicate_cbdva' => null,
'duplicate_cbdv' => '0',
'duplicate_thcv' => '0',
'duplicate_thcva' => null,
'duplicate_cbda' => '0',
'duplicate_cbga' => null,
'duplicate_cbc' => '0',
'duplicate_cbd' => '0',
'duplicate_d8_thc' => '0',
'duplicate_d9_thc' => '0',
'duplicate_cbg' => '0',
'duplicate_cbn' => '0',
'duplicate_cbca' => null,
'duplicate_cbl' => null,
'duplicate_cbna' => null,
'duplicate_thca' => '0',
'comments' => null,
'prepsheet_id' => null,
'serving_size' => null,
'servings_per_package' => null,
'max_cbd' => (float) 149.401,
'max_thc' => (float) 495,
'max_total' => (int) 649,
'av_thc' => '495.0',
'av_cbd' => '149.4',
'total' => (int) 649,
'_cbdv' => '40',
'_cbdva' => null,
'_cbdna' => null,
'_cbda' => '13',
'_cbn' => '3',
'_cbd' => '138',
'_cbc' => '21',
'_cbca' => null,
'_cbg' => '11',
'_cbga' => null,
'_cbl' => null,
'_d9_thc' => '495',
'_d8_thc' => null,
'_thca' => null,
'_thcv' => '20',
'PotencyProfilePrepsheet' => array([maximum depth reached])
)
),
'Rsa' => array(),
'Terpene' => array(),
'Pesticide' => array(),
'Attachment' => array(),
'InvoiceItem' => array(
(int) 0 => array(
'id' => '11180',
'created' => '2016-03-30 20:34:59',
'modified' => '2016-03-30 20:34:59',
'invoice_id' => '4037',
'sample_id' => '79584',
'report_id' => '20',
'amount' => '65',
'description' => null,
'additional_tests' => null,
'increments' => null,
'quantity' => null,
'a_quantity' => null
)
)
)
$share = true
$type_symbol = ' mg/srv'
$pesticide = 'Not Tested'
$water_activity = 'Not Tested'
$coliforms = 'Not Tested'
$aspergillus = 'Not Tested'
$total_srv = (int) 0
$total = (float) 649
include - APP/Plugin/Samples/View/Elements/sample.ctp, line 50
View::_evaluate() - CORE/Cake/View/View.php, line 971
View::_render() - CORE/Cake/View/View.php, line 933
View::_renderElement() - CORE/Cake/View/View.php, line 1224
View::element() - CORE/Cake/View/View.php, line 418
include - APP/View/Users/view.ctp, line 162
View::_evaluate() - CORE/Cake/View/View.php, line 971
View::_render() - CORE/Cake/View/View.php, line 933
View::render() - CORE/Cake/View/View.php, line 473
Controller::render() - CORE/Cake/Controller/Controller.php, line 968
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 109