<?php /**

*/

use Edoceo\Radix;

$_ENV['h1'] = $_ENV['title'] = 'Training :: Inventory';

$vid_list = array(

'15day' => array(
    'name' => '15 Day Inventory (WA)',
    'file' => 'Inventory_15_Day.webm',
),

'create-plant' => array(
    'name' => 'Creating Plants from Inventory',
    'file' => 'Inventory_Create_Plant.webm',
),

'product-name' => array(
    'name' => 'Inventory Product Naming',
    'file' => 'Inventory_Product_Name.webm',
),

'relationships' => array(
    'name' => 'Inventory Relationships',
    'file' => 'Inventory_Relationships.webm',
),

// 'conversion' => array(
//  'name' => 'Inventory Conversion',
//  'html' => '<iframe width="640" height="360" src="//www.youtube.com/embed/EPzQ28d-1kA" frameborder="0" allowfullscreen></iframe>',
// ),
//
// 'convert-2' => array(
//  'name' => 'Inventory Conversion 2',
//  'html' => '<iframe width="640" height="360" src="//www.youtube.com/embed/aBHn6cr4gcM" frameborder="0" allowfullscreen></iframe>',
// ),

'create-lot' => array(
    'name' => 'Creating Lots from Flower or Other',
    'file' => 'Inventory_Create_Lot.webm',
),

'create-lot-auto' => array(
    'name' => 'Creating Lots with Auto Allocation',
    'file' => 'Inventory_Auto_Allocate.webm',
),

'adjust' => array(
    'name' => 'Inventory Adjustments',
    'file' => 'Inventory_Adjust.webm',
),

'qa-file' => array(
    'name' => 'Inventory QA Files',
    'file' => 'Inventory_QA_File.webm',
),

'convert-fl2um' => array(
    'name' => 'Converting Flower Lot to Usable Marijuana',
    'file' => 'Inventory_Convert_Flower2Usable.webm',
),

'revert' => array(
    'name' => 'Inventory Revert',
    'file' => 'Inventory_Revert.webm',
),

'sample' => array(
    'name' => 'Creating Vendor Samples',
    'file' => 'Inventory_Sample_Vendor.webm',
),

'labels' => array(
    'name' => 'Printing Inventory Labels',
    'file' => 'Inventory_Print_Labels.webm',
),

'add-photo' => array(
    'name' => 'Add Photo to Inventory',
    'html' => '<video controls src="/video/Inventory_Add_Photo.webm" style="width:640px;"></video>',
),

'manifest-create' => array(
    'name' => 'Manifests :: Create',
    'html' => '<iframe width="640" height="390" src="//www.youtube.com/embed/lCW-UoOW1Mc" frameborder="0" allowfullscreen></iframe>',
),
'manifes-print' => array(
    'name' => 'Manifests :: Print',
    'html' => '<iframe width="640" height="390" src="//www.youtube.com/embed/vICVSH0jONM" frameborder="0" allowfullscreen></iframe>',
),

'transfer-commit' => array(
    'name' => 'Inventory Transfer Commit',
    'html' => '<video controls src="/video/Inventory_Transfer_Commit.webm" style="width:640px;"></video>',
),

'transfer-inbound' => array(),

'destroy' => array(
    'name' => 'Inventory Destruction',
    'file' => 'Inventory_Destroy.webm',
),

);

foreach ($vid_list as $vid_stub => $vid_data) { $vid_data['stub'] = $vid_stub; echo Radix::block('training-video', $vid_data); }