Advertisement
Guest User

laravel

a guest
Oct 22nd, 2017
315
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 303.52 KB | None | 0 0
  1. <?php
  2.     $schedules = \App\Schedule::all();
  3.     $mondays = [];
  4.     $tuesdays = [];
  5.     $wednesdays = [];
  6.     $thursdays = [];
  7.     $fridays = [];
  8.     $saturdays = [];
  9.     $sundays = [];
  10.  
  11.     foreach($schedules as $schedule){
  12.         $date = DB::table('schedule')->where('id', $schedule->id)->value('date');
  13.         $day = date('l', strtotime($date));
  14.         if($day == "Monday")
  15.             array_push($mondays, $schedule);
  16.         if($day == "Tuesday")
  17.             array_push($tuesdays, $schedule);
  18.         if($day == "Wednesday")
  19.             array_push($wednesdays, $schedule);
  20.         if($day == "Thursday")
  21.             array_push($thursdays, $schedule);
  22.         if($day == "Friday")
  23.             array_push($fridays, $schedule);
  24.         if($day == "Saturday")
  25.             array_push($saturdays, $schedule);
  26.         if($day == "Sunday")
  27.             array_push($sundays, $schedule);
  28.     }
  29. ?>
  30.  
  31. <!DOCTYPE html>
  32. <html lang="en">
  33.  
  34. <head>
  35.     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  36.     <!-- Meta, title, CSS, favicons, etc. -->
  37.     <meta charset="utf-8">
  38.     <meta http-equiv="X-UA-Compatible" content="IE=edge">
  39.     <meta name="viewport" content="width=device-width, initial-scale=1">
  40.  
  41.     <title>Evergreen</title>
  42.  
  43.     <!-- Bootstrap -->
  44.     <link href="../vendors/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
  45.     <!-- Font Awesome -->
  46.     <link href="../vendors/font-awesome/css/font-awesome.min.css" rel="stylesheet">
  47.     <!-- iCheck -->
  48.     <link href="../vendors/iCheck/skins/flat/green.css" rel="stylesheet">
  49.     <!-- bootstrap-progressbar -->
  50.     <link href="../vendors/bootstrap-progressbar/css/bootstrap-progressbar-3.3.4.min.css" rel="stylesheet">
  51.     <!-- PNotify -->
  52.     <link href="../vendors/pnotify/dist/pnotify.css" rel="stylesheet">
  53.     <link href="../vendors/pnotify/dist/pnotify.buttons.css" rel="stylesheet">
  54.     <link href="../vendors/pnotify/dist/pnotify.nonblock.css" rel="stylesheet">
  55.  
  56.     <!-- Custom Theme Style -->
  57.     <link href="../build/css/custom.min.css" rel="stylesheet">
  58. </head>
  59.  
  60. <body class="nav-md">
  61. <div class="container body">
  62.     <div class="main_container">
  63.         <div class="col-md-3 left_col">
  64.             <div class="left_col scroll-view">
  65.                 <div class="navbar nav_title" style="border: 0;">
  66.                     <a href="/" class="site_title"><i class="fa fa-globe"></i> <span>E.E. Schedule</span></a>
  67.                 </div>
  68.  
  69.                 <div class="clearfix"></div>
  70.  
  71.                 <!-- sidebar menu -->
  72.                 <div id="sidebar-menu" class="main_menu_side hidden-print main_menu">
  73.                     <div class="menu_section">
  74.                         <ul class="nav side-menu">
  75.                             <li><a href="/"><i class="fa fa-home"></i> Home</a>
  76.                             </li>
  77.                             <li><a><i class="fa fa-edit"></i> Forms <span class="fa fa-chevron-down"></span></a>
  78.                                 <ul class="nav child_menu">
  79.                                     <li><a href="/add_form">Add Employee</a></li>
  80.                                     <li><a href="/edit_form">Edit Employee</a></li>
  81.                                     <li><a href="/delete_form">Delete Employee</a></li>
  82.                                 </ul>
  83.                             </li>
  84.                             <li><a><i class="fa fa-table"></i> Tables <span class="fa fa-chevron-down"></span></a>
  85.                                 <ul class="nav child_menu">
  86.                                     <li><a href="/time_table">Employee's Availability</a></li>
  87.                                     <li><a href="/zone_table">Employee's Zone for the Week</a></li>
  88.                                 </ul>
  89.                             </li>
  90.                         </ul>
  91.                     </div>
  92.                 </div>
  93.                 <!-- /sidebar menu -->
  94.             </div>
  95.         </div>
  96.  
  97.         <!-- top navigation -->
  98.         <div class="top_nav">
  99.             <div class="nav_menu">
  100.                 <nav class="" role="navigation">
  101.                     <div class="nav toggle">
  102.                         <a id="menu_toggle"><i class="fa fa-bars"></i></a>
  103.                     </div>
  104.                     <ul class="nav navbar-nav navbar-right">
  105.                         <li role="presentation" class="dropdown">
  106.                             <a href="" class="dropdown-toggle info-number" data-toggle="dropdown" aria-expanded="false" style="pointer-events:none; cursor: default">
  107.                                 <i style="color:transparent" class="fa fa-envelope-o"></i>
  108.                             </a>
  109.                         </li>
  110.                     </ul>
  111.                 </nav>
  112.             </div>
  113.         </div>
  114.         <!-- /top navigation -->
  115.  
  116.         <!-- page content -->
  117.         <div class="right_col" role="main">
  118.             <div class="">
  119.                 <div class="clearfix"></div>
  120.  
  121.                 <div class="">
  122.                     <div class="col-md-18 col-sm-18 col-xs-18">
  123.                         <div class="x_panel">
  124.                             <div class="x_title">
  125.                                 <h2><i class="fa fa-calendar"></i> Schedule </h2>
  126.                                 <div class="clearfix"></div>
  127.                             </div>
  128.                             <div class="x_content">
  129.                                 <div class="" role="tabpanel" data-example-id="togglable-tabs">
  130.                                     <ul id="myTab" class="nav nav-tabs bar_tabs" role="tablist">
  131.                                         <li role="presentation" class="active"><a href="#tab_content1" id="home-tab" role="tab" data-toggle="tab" aria-expanded="true">Monday</a>
  132.                                         </li>
  133.                                         <li role="presentation" class=""><a href="#tab_content2" role="tab" id="profile-tab" data-toggle="tab" aria-expanded="false">Tuesday</a>
  134.                                         </li>
  135.                                         <li role="presentation" class=""><a href="#tab_content3" role="tab" id="profile-tab2" data-toggle="tab" aria-expanded="false">Wednesday</a>
  136.                                         </li>
  137.                                         <li role="presentation" class=""><a href="#tab_content4" role="tab" id="profile-tab3" data-toggle="tab" aria-expanded="false">Thursday</a>
  138.                                         </li>
  139.                                         <li role="presentation" class=""><a href="#tab_content5" role="tab" id="profile-tab3" data-toggle="tab" aria-expanded="false">Friday</a>
  140.                                         </li>
  141.                                         <li role="presentation" class=""><a href="#tab_content6" role="tab" id="profile-tab3" data-toggle="tab" aria-expanded="false">Saturday</a>
  142.                                         </li>
  143.                                         <li role="presentation" class=""><a href="#tab_content7" role="tab" id="profile-tab3" data-toggle="tab" aria-expanded="false">Sunday</a>
  144.                                         </li>
  145.                                     </ul>
  146.                                     <div id="myTabContent" class="tab-content">
  147.                                         <div role="tabpanel" class="tab-pane fade" id="tab_content1" aria-labelledby="profile-tab">
  148.                                             <table class="table table-bordered" style="table-layout:fixed; width:100%;">
  149.                                                 <thead>
  150.                                                 <tr> <!-- ROW 1 -->
  151.                                                     <th style="text-align: center; font-size: 20px;" colspan="24">Gaming Operations Manager: Tiffany Watler</th>
  152.                                                 </tr>
  153.                                                 <tr> <!-- ROW 2 -->
  154.                                                     <th style="text-align: center; font-size: 20px;" colspan="24">Daily Zone Assignments</th>
  155.                                                 </tr>
  156.                                                 <tr> <!-- ROW 3 -->
  157.                                                     <?php $date = DB::table('schedule')->where('day', 'Monday')->value('date'); ?>
  158.                                                     <th style="text-align: center; font-size: 14px;" colspan="24">Monday Date: {{$date}}</th>
  159.                                                 </tr>
  160.                                                 </thead>
  161.                                                 <tbody>
  162.                                                 <tr> <!-- ROW 4 -->
  163.                                                     <th style="text-align: center; font-size: 20px;" colspan="24">DAY SHIFT MOD, Clemson (8am-430pm)</th>
  164.                                                 </tr>
  165.                                                 <tr> <!-- ROW 5 -->
  166.                                                     <th style="text-align: center; font-size: 16px;" colspan="24">Dispatch: MOD</th>
  167.                                                 </tr>
  168.                                                 <tr> <!-- ROW 6 -->
  169.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  170.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  171.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
  172.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
  173.  
  174.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  175.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  176.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
  177.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
  178.  
  179.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  180.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  181.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
  182.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
  183.  
  184.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  185.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  186.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
  187.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
  188.                                                 </tr>
  189.  
  190.                                                 <tr> <!-- ROW 7 -->
  191.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
  192.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
  193.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
  194.                                                     <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
  195.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
  196.  
  197.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
  198.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
  199.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
  200.                                                     <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
  201.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
  202.  
  203.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
  204.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
  205.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
  206.                                                     <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
  207.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
  208.  
  209.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
  210.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
  211.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
  212.                                                     <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
  213.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
  214.                                                 </tr>
  215.  
  216.                                                 <tr> <!-- ROW 8 -->
  217.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  218.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  219.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  220.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">4pm boxes</th>
  221.  
  222.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  223.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  224.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  225.                                                     <th style="text-align: center; font-size: 11px;" colspan="3"></th>
  226.  
  227.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  228.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  229.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  230.                                                     <th style="text-align: center; font-size: 11px;" colspan="3"></th>
  231.  
  232.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  233.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  234.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  235.                                                     <th style="text-align: center; font-size: 11px;" colspan="2"></th>
  236.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  237.                                                 </tr>
  238.  
  239.                                                 <tr> <!-- ROW 9 -->
  240.                                                     <th style="text-align: center; font-size: 14px;" colspan="24">Ambassadors</th>
  241.                                                 </tr>
  242.  
  243.                                                 <tr> <!-- ROW 10 -->
  244.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  245.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  246.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
  247.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
  248.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
  249.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
  250.  
  251.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  252.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  253.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
  254.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
  255.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
  256.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
  257.  
  258.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  259.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  260.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
  261.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
  262.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
  263.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
  264.  
  265.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  266.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  267.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
  268.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
  269.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
  270.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
  271.                                                 </tr>
  272.  
  273.                                                 <?php $i = 0; ?>
  274.  
  275.                                                 <tr>
  276.                                                     @foreach($mondays as $monday)
  277.                                                         <?php $shift_worker_id = DB::table('schedule')->where('id', $monday->id)->value('shift_worker_id') ?>
  278.                                                         <?php $zone_id = DB::table('schedule')->where('id', $monday->id)->value('zone_id') ?>
  279.                                                         <?php $zone = DB::table('zone')->where('id', $zone_id)->value('name') ?>
  280.                                                         <?php $worker_id = DB::table('shift_worker')->where('id', $shift_worker_id)->value('worker_id') ?>
  281.                                                         <?php $shift_id = DB::table('shift_worker')->where('id', $shift_worker_id)->value('shift_id') ?>
  282.                                                         <?php $time = DB::table('shift')->where('id', $shift_id)->value('time') ?>
  283.                                                         <?php $type = DB::table('shift')->where('id', $shift_id)->value('type') ?>
  284.                                                         <?php $name = DB::table('worker')->where('id', $worker_id)->value('name') ?>
  285.                                                         @if($type == "Day")
  286.                                                             <th style="font-size:11px" colspan="1">{{$name}}</th>
  287.                                                             <th style="font-size:7px" colspan="1">{{$time}}</th>
  288.                                                             <th style="font-size:11px" colspan="1">{{$zone}}</th>
  289.                                                             <th colspan="1"></th>
  290.                                                             <th colspan="1"></th>
  291.                                                             <th colspan="1"></th>
  292.                                                             <?php $i++; ?>
  293.                                                         @endif
  294.                                                         @if($i % 4 == 0)
  295.                                                             </tr>
  296.                                                             <tr>
  297.                                                         @endif
  298.                                                     @endforeach
  299.                                                 </tr>
  300.  
  301.                                                 <tr> <!-- ROW 16 -->
  302.                                                     <th style="text-align: center; font-size: 14px;" colspan="24"></th>
  303.                                                 </tr>
  304.  
  305.                                                 <tr> <!-- ROW 4 -->
  306.                                                     <th style="text-align: center; font-size: 20px;" colspan="24">SWING SHIFT MOD, Brandon (215pm-830pm)</th>
  307.                                                 </tr>
  308.                                                 <tr> <!-- ROW 5 -->
  309.                                                     <th style="text-align: center; font-size: 16px;" colspan="24">Dispatch: MOD</th>
  310.                                                 </tr>
  311.                                                 <tr> <!-- ROW 6 -->
  312.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  313.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  314.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
  315.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
  316.  
  317.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  318.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  319.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
  320.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
  321.  
  322.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  323.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  324.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
  325.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
  326.  
  327.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  328.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  329.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
  330.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
  331.                                                 </tr>
  332.  
  333.                                                 <tr> <!-- ROW 7 -->
  334.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
  335.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
  336.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
  337.                                                     <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
  338.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
  339.  
  340.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
  341.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
  342.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
  343.                                                     <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
  344.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
  345.  
  346.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
  347.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
  348.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
  349.                                                     <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
  350.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
  351.  
  352.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
  353.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
  354.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
  355.                                                     <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
  356.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
  357.                                                 </tr>
  358.  
  359.                                                 <tr> <!-- ROW 8 -->
  360.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  361.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  362.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  363.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">4pm boxes</th>
  364.  
  365.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  366.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  367.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  368.                                                     <th style="text-align: center; font-size: 11px;" colspan="3"></th>
  369.  
  370.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  371.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  372.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  373.                                                     <th style="text-align: center; font-size: 11px;" colspan="3"></th>
  374.  
  375.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  376.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  377.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  378.                                                     <th style="text-align: center; font-size: 11px;" colspan="2"></th>
  379.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  380.                                                 </tr>
  381.  
  382.                                                 <tr> <!-- ROW 9 -->
  383.                                                     <th style="text-align: center; font-size: 14px;" colspan="24">Ambassadors</th>
  384.                                                 </tr>
  385.  
  386.                                                 <tr> <!-- ROW 10 -->
  387.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  388.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  389.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
  390.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
  391.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
  392.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
  393.  
  394.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  395.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  396.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
  397.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
  398.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
  399.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
  400.  
  401.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  402.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  403.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
  404.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
  405.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
  406.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
  407.  
  408.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  409.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  410.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
  411.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
  412.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
  413.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
  414.                                                 </tr>
  415.  
  416.                                                 <?php $j = 0; ?>
  417.  
  418.                                                 <tr>
  419.                                                     @foreach($mondays as $monday)
  420.                                                         <?php $shift_worker_id = DB::table('schedule')->where('id', $monday->id)->value('shift_worker_id') ?>
  421.                                                         <?php $zone_id = DB::table('schedule')->where('id', $monday->id)->value('zone_id') ?>
  422.                                                         <?php $zone = DB::table('zone')->where('id', $zone_id)->value('name') ?>
  423.                                                         <?php $worker_id = DB::table('shift_worker')->where('id', $shift_worker_id)->value('worker_id') ?>
  424.                                                         <?php $shift_id = DB::table('shift_worker')->where('id', $shift_worker_id)->value('shift_id') ?>
  425.                                                         <?php $time = DB::table('shift')->where('id', $shift_id)->value('time') ?>
  426.                                                         <?php $type = DB::table('shift')->where('id', $shift_id)->value('type') ?>
  427.                                                         <?php $name = DB::table('worker')->where('id', $worker_id)->value('name') ?>
  428.                                                         @if($type == "Swing")
  429.                                                             <th style="font-size:11px" colspan="1">{{$name}}</th>
  430.                                                             <th style="font-size:7px" colspan="1">{{$time}}</th>
  431.                                                             <th style="font-size:11px" colspan="1">{{$zone}}</th>
  432.                                                             <th colspan="1"></th>
  433.                                                             <th colspan="1"></th>
  434.                                                             <th colspan="1"></th>
  435.                                                             <?php $j++; ?>
  436.                                                         @endif
  437.                                                         @if($j % 4 == 0)
  438.                                                             </tr>
  439.                                                             <tr>
  440.                                                         @endif
  441.                                                     @endforeach
  442.                                                 </tr>
  443.  
  444.                                                 <tr> <!-- ROW 16 -->
  445.                                                     <th style="text-align: center; font-size: 14px;" colspan="24"></th>
  446.                                                 </tr>
  447.  
  448.                                                 <tr> <!-- ROW 4 -->
  449.                                                     <th style="text-align: center; font-size: 20px;" colspan="24">GRAVEYARD SHIFT MOD, Sara (830pm-615am)</th>
  450.                                                 </tr>
  451.                                                 <tr> <!-- ROW 5 -->
  452.                                                     <th style="text-align: center; font-size: 16px;" colspan="24">Dispatch: MOD</th>
  453.                                                 </tr>
  454.                                                 <tr> <!-- ROW 6 -->
  455.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  456.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  457.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
  458.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
  459.  
  460.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  461.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  462.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
  463.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
  464.  
  465.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  466.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  467.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
  468.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
  469.  
  470.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  471.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  472.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
  473.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
  474.                                                 </tr>
  475.  
  476.                                                 <tr> <!-- ROW 7 -->
  477.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
  478.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
  479.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
  480.                                                     <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
  481.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
  482.  
  483.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
  484.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
  485.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
  486.                                                     <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
  487.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
  488.  
  489.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
  490.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
  491.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
  492.                                                     <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
  493.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
  494.  
  495.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
  496.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
  497.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
  498.                                                     <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
  499.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
  500.                                                 </tr>
  501.  
  502.                                                 <tr> <!-- ROW 8 -->
  503.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  504.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  505.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  506.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">4pm boxes</th>
  507.  
  508.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  509.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  510.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  511.                                                     <th style="text-align: center; font-size: 11px;" colspan="3"></th>
  512.  
  513.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  514.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  515.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  516.                                                     <th style="text-align: center; font-size: 11px;" colspan="3"></th>
  517.  
  518.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  519.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  520.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  521.                                                     <th style="text-align: center; font-size: 11px;" colspan="2"></th>
  522.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  523.                                                 </tr>
  524.  
  525.                                                 <tr> <!-- ROW 9 -->
  526.                                                     <th style="text-align: center; font-size: 14px;" colspan="24">Ambassadors</th>
  527.                                                 </tr>
  528.  
  529.                                                 <tr> <!-- ROW 10 -->
  530.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  531.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  532.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
  533.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
  534.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
  535.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
  536.  
  537.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  538.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  539.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
  540.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
  541.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
  542.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
  543.  
  544.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  545.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  546.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
  547.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
  548.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
  549.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
  550.  
  551.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  552.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  553.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
  554.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
  555.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
  556.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
  557.                                                 </tr>
  558.  
  559.                                                 <?php $k = 0; ?>
  560.  
  561.                                                 <tr>
  562.                                                     @foreach($mondays as $monday)
  563.                                                         <?php $shift_worker_id = DB::table('schedule')->where('id', $monday->id)->value('shift_worker_id') ?>
  564.                                                         <?php $zone_id = DB::table('schedule')->where('id', $monday->id)->value('zone_id') ?>
  565.                                                         <?php $zone = DB::table('zone')->where('id', $zone_id)->value('name') ?>
  566.                                                         <?php $worker_id = DB::table('shift_worker')->where('id', $shift_worker_id)->value('worker_id') ?>
  567.                                                         <?php $shift_id = DB::table('shift_worker')->where('id', $shift_worker_id)->value('shift_id') ?>
  568.                                                         <?php $time = DB::table('shift')->where('id', $shift_id)->value('time') ?>
  569.                                                         <?php $type = DB::table('shift')->where('id', $shift_id)->value('type') ?>
  570.                                                         <?php $name = DB::table('worker')->where('id', $worker_id)->value('name') ?>
  571.                                                         @if($type == "Graveyard")
  572.                                                             <th style="font-size:11px" colspan="1">{{$name}}</th>
  573.                                                             <th style="font-size:7px" colspan="1">{{$time}}</th>
  574.                                                             <th style="font-size:11px" colspan="1">{{$zone}}</th>
  575.                                                             <th colspan="1"></th>
  576.                                                             <th colspan="1"></th>
  577.                                                             <th colspan="1"></th>
  578.                                                             <?php $k++; ?>
  579.                                                         @endif
  580.                                                         @if($k % 4 == 0)
  581.                                                             </tr>
  582.                                                             <tr>
  583.                                                         @endif
  584.                                                     @endforeach
  585.                                                 </tr>
  586.  
  587.                                                 <tr> <!-- ROW 16 -->
  588.                                                     <th style="text-align: center; font-size: 14px;" colspan="24"></th>
  589.                                                 </tr>
  590.                                                 </tbody>
  591.                                             </table>
  592.                                         </div>
  593.                                         <div role="tabpanel" class="tab-pane fade" id="tab_content2" aria-labelledby="profile-tab">
  594.                                             <table class="table table-bordered" style="table-layout:fixed; width:100%;">
  595.                                                 <thead>
  596.                                                 <tr> <!-- ROW 1 -->
  597.                                                     <th style="text-align: center; font-size: 20px;" colspan="24">Gaming Operations Manager: Tiffany Watler</th>
  598.                                                 </tr>
  599.                                                 <tr> <!-- ROW 2 -->
  600.                                                     <th style="text-align: center; font-size: 20px;" colspan="24">Daily Zone Assignments</th>
  601.                                                 </tr>
  602.                                                 <tr> <!-- ROW 3 -->
  603.                                                     <?php $date = DB::table('schedule')->where('day', 'Tuesday')->value('date'); ?>
  604.                                                     <th style="text-align: center; font-size: 14px;" colspan="24">Tuesday Date: {{$date}}</th>
  605.                                                 </tr>
  606.                                                 </thead>
  607.                                                 <tbody>
  608.                                                 <tr> <!-- ROW 4 -->
  609.                                                     <th style="text-align: center; font-size: 20px;" colspan="24">DAY SHIFT MOD, Clemson (8am-430pm)</th>
  610.                                                 </tr>
  611.                                                 <tr> <!-- ROW 5 -->
  612.                                                     <th style="text-align: center; font-size: 16px;" colspan="24">Dispatch: MOD</th>
  613.                                                 </tr>
  614.                                                 <tr> <!-- ROW 6 -->
  615.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  616.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  617.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
  618.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
  619.  
  620.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  621.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  622.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
  623.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
  624.  
  625.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  626.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  627.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
  628.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
  629.  
  630.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  631.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  632.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
  633.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
  634.                                                 </tr>
  635.  
  636.                                                 <tr> <!-- ROW 7 -->
  637.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
  638.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
  639.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
  640.                                                     <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
  641.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
  642.  
  643.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
  644.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
  645.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
  646.                                                     <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
  647.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
  648.  
  649.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
  650.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
  651.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
  652.                                                     <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
  653.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
  654.  
  655.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
  656.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
  657.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
  658.                                                     <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
  659.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
  660.                                                 </tr>
  661.  
  662.                                                 <tr> <!-- ROW 8 -->
  663.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  664.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  665.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  666.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">4pm boxes</th>
  667.  
  668.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  669.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  670.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  671.                                                     <th style="text-align: center; font-size: 11px;" colspan="3"></th>
  672.  
  673.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  674.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  675.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  676.                                                     <th style="text-align: center; font-size: 11px;" colspan="3"></th>
  677.  
  678.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  679.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  680.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  681.                                                     <th style="text-align: center; font-size: 11px;" colspan="2"></th>
  682.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  683.                                                 </tr>
  684.  
  685.                                                 <tr> <!-- ROW 9 -->
  686.                                                     <th style="text-align: center; font-size: 14px;" colspan="24">Ambassadors</th>
  687.                                                 </tr>
  688.  
  689.                                                 <tr> <!-- ROW 10 -->
  690.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  691.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  692.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
  693.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
  694.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
  695.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
  696.  
  697.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  698.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  699.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
  700.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
  701.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
  702.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
  703.  
  704.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  705.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  706.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
  707.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
  708.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
  709.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
  710.  
  711.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  712.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  713.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
  714.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
  715.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
  716.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
  717.                                                 </tr>
  718.  
  719.                                                 <?php $i = 0; ?>
  720.  
  721.                                                 <tr>
  722.                                                     @foreach($tuesdays as $tuesday)
  723.                                                         <?php $shift_worker_id = DB::table('schedule')->where('id', $tuesday->id)->value('shift_worker_id') ?>
  724.                                                         <?php $zone_id = DB::table('schedule')->where('id', $tuesday->id)->value('zone_id') ?>
  725.                                                         <?php $zone = DB::table('zone')->where('id', $zone_id)->value('name') ?>
  726.                                                         <?php $worker_id = DB::table('shift_worker')->where('id', $shift_worker_id)->value('worker_id') ?>
  727.                                                         <?php $shift_id = DB::table('shift_worker')->where('id', $shift_worker_id)->value('shift_id') ?>
  728.                                                         <?php $time = DB::table('shift')->where('id', $shift_id)->value('time') ?>
  729.                                                         <?php $type = DB::table('shift')->where('id', $shift_id)->value('type') ?>
  730.                                                         <?php $name = DB::table('worker')->where('id', $worker_id)->value('name') ?>
  731.                                                         @if($type == "Day")
  732.                                                             <th style="font-size:11px" colspan="1">{{$name}}</th>
  733.                                                             <th style="font-size:7px" colspan="1">{{$time}}</th>
  734.                                                             <th style="font-size:11px" colspan="1">{{$zone}}</th>
  735.                                                             <th colspan="1"></th>
  736.                                                             <th colspan="1"></th>
  737.                                                             <th colspan="1"></th>
  738.                                                             <?php $i++; ?>
  739.                                                         @endif
  740.                                                         @if($i % 4 == 0)
  741.                                                             </tr>
  742.                                                             <tr>
  743.                                                         @endif
  744.                                                     @endforeach
  745.                                                 </tr>
  746.  
  747.                                                 <tr> <!-- ROW 16 -->
  748.                                                     <th style="text-align: center; font-size: 14px;" colspan="24"></th>
  749.                                                 </tr>
  750.  
  751.                                                 <tr> <!-- ROW 4 -->
  752.                                                     <th style="text-align: center; font-size: 20px;" colspan="24">SWING SHIFT MOD, Brandon (215pm-830pm)</th>
  753.                                                 </tr>
  754.                                                 <tr> <!-- ROW 5 -->
  755.                                                     <th style="text-align: center; font-size: 16px;" colspan="24">Dispatch: MOD</th>
  756.                                                 </tr>
  757.                                                 <tr> <!-- ROW 6 -->
  758.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  759.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  760.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
  761.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
  762.  
  763.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  764.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  765.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
  766.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
  767.  
  768.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  769.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  770.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
  771.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
  772.  
  773.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  774.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  775.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
  776.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
  777.                                                 </tr>
  778.  
  779.                                                 <tr> <!-- ROW 7 -->
  780.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
  781.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
  782.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
  783.                                                     <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
  784.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
  785.  
  786.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
  787.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
  788.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
  789.                                                     <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
  790.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
  791.  
  792.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
  793.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
  794.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
  795.                                                     <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
  796.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
  797.  
  798.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
  799.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
  800.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
  801.                                                     <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
  802.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
  803.                                                 </tr>
  804.  
  805.                                                 <tr> <!-- ROW 8 -->
  806.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  807.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  808.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  809.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">4pm boxes</th>
  810.  
  811.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  812.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  813.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  814.                                                     <th style="text-align: center; font-size: 11px;" colspan="3"></th>
  815.  
  816.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  817.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  818.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  819.                                                     <th style="text-align: center; font-size: 11px;" colspan="3"></th>
  820.  
  821.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  822.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  823.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  824.                                                     <th style="text-align: center; font-size: 11px;" colspan="2"></th>
  825.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  826.                                                 </tr>
  827.  
  828.                                                 <tr> <!-- ROW 9 -->
  829.                                                     <th style="text-align: center; font-size: 14px;" colspan="24">Ambassadors</th>
  830.                                                 </tr>
  831.  
  832.                                                 <tr> <!-- ROW 10 -->
  833.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  834.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  835.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
  836.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
  837.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
  838.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
  839.  
  840.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  841.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  842.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
  843.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
  844.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
  845.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
  846.  
  847.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  848.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  849.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
  850.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
  851.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
  852.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
  853.  
  854.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  855.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  856.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
  857.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
  858.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
  859.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
  860.                                                 </tr>
  861.  
  862.                                                 <?php $j = 0; ?>
  863.  
  864.                                                 <tr>
  865.                                                     @foreach($tuesdays as $tuesday)
  866.                                                         <?php $shift_worker_id = DB::table('schedule')->where('id', $tuesday->id)->value('shift_worker_id') ?>
  867.                                                         <?php $zone_id = DB::table('schedule')->where('id', $tuesday->id)->value('zone_id') ?>
  868.                                                         <?php $zone = DB::table('zone')->where('id', $zone_id)->value('name') ?>
  869.                                                         <?php $worker_id = DB::table('shift_worker')->where('id', $shift_worker_id)->value('worker_id') ?>
  870.                                                         <?php $shift_id = DB::table('shift_worker')->where('id', $shift_worker_id)->value('shift_id') ?>
  871.                                                         <?php $time = DB::table('shift')->where('id', $shift_id)->value('time') ?>
  872.                                                         <?php $type = DB::table('shift')->where('id', $shift_id)->value('type') ?>
  873.                                                         <?php $name = DB::table('worker')->where('id', $worker_id)->value('name') ?>
  874.                                                         @if($type == "Swing")
  875.                                                             <th style="font-size:11px" colspan="1">{{$name}}</th>
  876.                                                             <th style="font-size:7px" colspan="1">{{$time}}</th>
  877.                                                             <th style="font-size:11px" colspan="1">{{$zone}}</th>
  878.                                                             <th colspan="1"></th>
  879.                                                             <th colspan="1"></th>
  880.                                                             <th colspan="1"></th>
  881.                                                             <?php $j++; ?>
  882.                                                         @endif
  883.                                                         @if($j % 4 == 0)
  884.                                                             </tr>
  885.                                                             <tr>
  886.                                                         @endif
  887.                                                     @endforeach
  888.                                                 </tr>
  889.  
  890.                                                 <tr> <!-- ROW 16 -->
  891.                                                     <th style="text-align: center; font-size: 14px;" colspan="24"></th>
  892.                                                 </tr>
  893.  
  894.                                                 <tr> <!-- ROW 4 -->
  895.                                                     <th style="text-align: center; font-size: 20px;" colspan="24">GRAVEYARD SHIFT MOD, Sara (830pm-615am)</th>
  896.                                                 </tr>
  897.                                                 <tr> <!-- ROW 5 -->
  898.                                                     <th style="text-align: center; font-size: 16px;" colspan="24">Dispatch: MOD</th>
  899.                                                 </tr>
  900.                                                 <tr> <!-- ROW 6 -->
  901.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  902.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  903.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
  904.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
  905.  
  906.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  907.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  908.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
  909.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
  910.  
  911.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  912.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  913.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
  914.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
  915.  
  916.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  917.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  918.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
  919.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
  920.                                                 </tr>
  921.  
  922.                                                 <tr> <!-- ROW 7 -->
  923.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
  924.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
  925.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
  926.                                                     <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
  927.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
  928.  
  929.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
  930.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
  931.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
  932.                                                     <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
  933.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
  934.  
  935.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
  936.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
  937.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
  938.                                                     <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
  939.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
  940.  
  941.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
  942.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
  943.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
  944.                                                     <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
  945.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
  946.                                                 </tr>
  947.  
  948.                                                 <tr> <!-- ROW 8 -->
  949.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  950.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  951.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  952.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">4pm boxes</th>
  953.  
  954.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  955.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  956.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  957.                                                     <th style="text-align: center; font-size: 11px;" colspan="3"></th>
  958.  
  959.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  960.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  961.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  962.                                                     <th style="text-align: center; font-size: 11px;" colspan="3"></th>
  963.  
  964.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  965.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  966.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  967.                                                     <th style="text-align: center; font-size: 11px;" colspan="2"></th>
  968.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  969.                                                 </tr>
  970.  
  971.                                                 <tr> <!-- ROW 9 -->
  972.                                                     <th style="text-align: center; font-size: 14px;" colspan="24">Ambassadors</th>
  973.                                                 </tr>
  974.  
  975.                                                 <tr> <!-- ROW 10 -->
  976.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  977.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  978.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
  979.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
  980.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
  981.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
  982.  
  983.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  984.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  985.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
  986.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
  987.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
  988.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
  989.  
  990.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  991.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  992.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
  993.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
  994.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
  995.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
  996.  
  997.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  998.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  999.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
  1000.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
  1001.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
  1002.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
  1003.                                                 </tr>
  1004.  
  1005.                                                 <?php $k = 0; ?>
  1006.  
  1007.                                                 <tr>
  1008.                                                     @foreach($tuesdays as $tuesday)
  1009.                                                         <?php $shift_worker_id = DB::table('schedule')->where('id', $tuesday->id)->value('shift_worker_id') ?>
  1010.                                                         <?php $zone_id = DB::table('schedule')->where('id', $tuesday->id)->value('zone_id') ?>
  1011.                                                         <?php $zone = DB::table('zone')->where('id', $zone_id)->value('name') ?>
  1012.                                                         <?php $worker_id = DB::table('shift_worker')->where('id', $shift_worker_id)->value('worker_id') ?>
  1013.                                                         <?php $shift_id = DB::table('shift_worker')->where('id', $shift_worker_id)->value('shift_id') ?>
  1014.                                                         <?php $time = DB::table('shift')->where('id', $shift_id)->value('time') ?>
  1015.                                                         <?php $type = DB::table('shift')->where('id', $shift_id)->value('type') ?>
  1016.                                                         <?php $name = DB::table('worker')->where('id', $worker_id)->value('name') ?>
  1017.                                                         @if($type == "Graveyard")
  1018.                                                             <th style="font-size:11px" colspan="1">{{$name}}</th>
  1019.                                                             <th style="font-size:7px" colspan="1">{{$time}}</th>
  1020.                                                             <th style="font-size:11px" colspan="1">{{$zone}}</th>
  1021.                                                             <th colspan="1"></th>
  1022.                                                             <th colspan="1"></th>
  1023.                                                             <th colspan="1"></th>
  1024.                                                             <?php $k++; ?>
  1025.                                                         @endif
  1026.                                                         @if($k % 4 == 0)
  1027.                                                             </tr>
  1028.                                                             <tr>
  1029.                                                         @endif
  1030.                                                     @endforeach
  1031.                                                 </tr>
  1032.  
  1033.                                                 <tr> <!-- ROW 16 -->
  1034.                                                     <th style="text-align: center; font-size: 14px;" colspan="24"></th>
  1035.                                                 </tr>
  1036.                                                 </tbody>
  1037.                                             </table>
  1038.                                         </div>
  1039.                                         <div role="tabpanel" class="tab-pane fade" id="tab_content3" aria-labelledby="profile-tab">
  1040.                                             <table class="table table-bordered" style="table-layout:fixed; width:100%;">
  1041.                                                 <thead>
  1042.                                                 <tr> <!-- ROW 1 -->
  1043.                                                     <th style="text-align: center; font-size: 20px;" colspan="24">Gaming Operations Manager: Tiffany Watler</th>
  1044.                                                 </tr>
  1045.                                                 <tr> <!-- ROW 2 -->
  1046.                                                     <th style="text-align: center; font-size: 20px;" colspan="24">Daily Zone Assignments</th>
  1047.                                                 </tr>
  1048.                                                 <tr> <!-- ROW 3 -->
  1049.                                                     <?php $date = DB::table('schedule')->where('day', 'Wednesday')->value('date'); ?>
  1050.                                                     <th style="text-align: center; font-size: 14px;" colspan="24">Wednesday Date: {{$date}}</th>
  1051.                                                 </tr>
  1052.                                                 </thead>
  1053.                                                 <tbody>
  1054.                                                 <tr> <!-- ROW 4 -->
  1055.                                                     <th style="text-align: center; font-size: 20px;" colspan="24">DAY SHIFT MOD, Clemson (8am-430pm)</th>
  1056.                                                 </tr>
  1057.                                                 <tr> <!-- ROW 5 -->
  1058.                                                     <th style="text-align: center; font-size: 16px;" colspan="24">Dispatch: MOD</th>
  1059.                                                 </tr>
  1060.                                                 <tr> <!-- ROW 6 -->
  1061.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  1062.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  1063.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
  1064.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
  1065.  
  1066.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  1067.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  1068.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
  1069.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
  1070.  
  1071.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  1072.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  1073.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
  1074.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
  1075.  
  1076.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  1077.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  1078.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
  1079.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
  1080.                                                 </tr>
  1081.  
  1082.                                                 <tr> <!-- ROW 7 -->
  1083.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
  1084.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
  1085.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
  1086.                                                     <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
  1087.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
  1088.  
  1089.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
  1090.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
  1091.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
  1092.                                                     <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
  1093.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
  1094.  
  1095.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
  1096.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
  1097.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
  1098.                                                     <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
  1099.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
  1100.  
  1101.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
  1102.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
  1103.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
  1104.                                                     <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
  1105.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
  1106.                                                 </tr>
  1107.  
  1108.                                                 <tr> <!-- ROW 8 -->
  1109.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  1110.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  1111.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  1112.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">4pm boxes</th>
  1113.  
  1114.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  1115.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  1116.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  1117.                                                     <th style="text-align: center; font-size: 11px;" colspan="3"></th>
  1118.  
  1119.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  1120.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  1121.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  1122.                                                     <th style="text-align: center; font-size: 11px;" colspan="3"></th>
  1123.  
  1124.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  1125.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  1126.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  1127.                                                     <th style="text-align: center; font-size: 11px;" colspan="2"></th>
  1128.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  1129.                                                 </tr>
  1130.  
  1131.                                                 <tr> <!-- ROW 9 -->
  1132.                                                     <th style="text-align: center; font-size: 14px;" colspan="24">Ambassadors</th>
  1133.                                                 </tr>
  1134.  
  1135.                                                 <tr> <!-- ROW 10 -->
  1136.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  1137.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  1138.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
  1139.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
  1140.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
  1141.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
  1142.  
  1143.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  1144.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  1145.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
  1146.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
  1147.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
  1148.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
  1149.  
  1150.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  1151.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  1152.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
  1153.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
  1154.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
  1155.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
  1156.  
  1157.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  1158.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  1159.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
  1160.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
  1161.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
  1162.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
  1163.                                                 </tr>
  1164.  
  1165.  
  1166.                                                 <?php $i = 0; ?>
  1167.  
  1168.                                                 <tr>
  1169.                                                     @foreach($wednesdays as $wednesday)
  1170.                                                         <?php $shift_worker_id = DB::table('schedule')->where('id', $wednesday->id)->value('shift_worker_id') ?>
  1171.                                                         <?php $zone_id = DB::table('schedule')->where('id', $wednesday->id)->value('zone_id') ?>
  1172.                                                         <?php $zone = DB::table('zone')->where('id', $zone_id)->value('name') ?>
  1173.                                                         <?php $worker_id = DB::table('shift_worker')->where('id', $shift_worker_id)->value('worker_id') ?>
  1174.                                                         <?php $shift_id = DB::table('shift_worker')->where('id', $shift_worker_id)->value('shift_id') ?>
  1175.                                                         <?php $time = DB::table('shift')->where('id', $shift_id)->value('time') ?>
  1176.                                                         <?php $type = DB::table('shift')->where('id', $shift_id)->value('type') ?>
  1177.                                                         <?php $name = DB::table('worker')->where('id', $worker_id)->value('name') ?>
  1178.                                                         @if($type == "Day")
  1179.                                                             <th style="font-size:11px" colspan="1">{{$name}}</th>
  1180.                                                             <th style="font-size:7px" colspan="1">{{$time}}</th>
  1181.                                                             <th style="font-size:11px" colspan="1">{{$zone}}</th>
  1182.                                                             <th colspan="1"></th>
  1183.                                                             <th colspan="1"></th>
  1184.                                                             <th colspan="1"></th>
  1185.                                                             <?php $i++; ?>
  1186.                                                         @endif
  1187.                                                         @if($i % 4 == 0)
  1188.                                                             </tr>
  1189.                                                             <tr>
  1190.                                                         @endif
  1191.                                                     @endforeach
  1192.                                                 </tr>
  1193.  
  1194.                                                 <tr> <!-- ROW 16 -->
  1195.                                                     <th style="text-align: center; font-size: 14px;" colspan="24"></th>
  1196.                                                 </tr>
  1197.  
  1198.                                                 <tr> <!-- ROW 4 -->
  1199.                                                     <th style="text-align: center; font-size: 20px;" colspan="24">SWING SHIFT MOD, Brandon (215pm-830pm)</th>
  1200.                                                 </tr>
  1201.                                                 <tr> <!-- ROW 5 -->
  1202.                                                     <th style="text-align: center; font-size: 16px;" colspan="24">Dispatch: MOD</th>
  1203.                                                 </tr>
  1204.                                                 <tr> <!-- ROW 6 -->
  1205.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  1206.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  1207.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
  1208.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
  1209.  
  1210.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  1211.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  1212.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
  1213.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
  1214.  
  1215.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  1216.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  1217.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
  1218.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
  1219.  
  1220.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  1221.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  1222.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
  1223.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
  1224.                                                 </tr>
  1225.  
  1226.                                                 <tr> <!-- ROW 7 -->
  1227.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
  1228.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
  1229.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
  1230.                                                     <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
  1231.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
  1232.  
  1233.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
  1234.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
  1235.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
  1236.                                                     <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
  1237.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
  1238.  
  1239.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
  1240.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
  1241.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
  1242.                                                     <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
  1243.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
  1244.  
  1245.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
  1246.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
  1247.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
  1248.                                                     <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
  1249.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
  1250.                                                 </tr>
  1251.  
  1252.                                                 <tr> <!-- ROW 8 -->
  1253.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  1254.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  1255.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  1256.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">4pm boxes</th>
  1257.  
  1258.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  1259.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  1260.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  1261.                                                     <th style="text-align: center; font-size: 11px;" colspan="3"></th>
  1262.  
  1263.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  1264.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  1265.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  1266.                                                     <th style="text-align: center; font-size: 11px;" colspan="3"></th>
  1267.  
  1268.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  1269.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  1270.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  1271.                                                     <th style="text-align: center; font-size: 11px;" colspan="2"></th>
  1272.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  1273.                                                 </tr>
  1274.  
  1275.                                                 <tr> <!-- ROW 9 -->
  1276.                                                     <th style="text-align: center; font-size: 14px;" colspan="24">Ambassadors</th>
  1277.                                                 </tr>
  1278.  
  1279.                                                 <tr> <!-- ROW 10 -->
  1280.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  1281.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  1282.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
  1283.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
  1284.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
  1285.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
  1286.  
  1287.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  1288.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  1289.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
  1290.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
  1291.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
  1292.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
  1293.  
  1294.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  1295.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  1296.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
  1297.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
  1298.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
  1299.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
  1300.  
  1301.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  1302.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  1303.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
  1304.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
  1305.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
  1306.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
  1307.                                                 </tr>
  1308.  
  1309.                                                 <?php $j = 0; ?>
  1310.  
  1311.                                                 <tr>
  1312.                                                     @foreach($wednesdays as $wednesday)
  1313.                                                         <?php $shift_worker_id = DB::table('schedule')->where('id', $wednesday->id)->value('shift_worker_id') ?>
  1314.                                                         <?php $zone_id = DB::table('schedule')->where('id', $wednesday->id)->value('zone_id') ?>
  1315.                                                         <?php $zone = DB::table('zone')->where('id', $zone_id)->value('name') ?>
  1316.                                                         <?php $worker_id = DB::table('shift_worker')->where('id', $shift_worker_id)->value('worker_id') ?>
  1317.                                                         <?php $shift_id = DB::table('shift_worker')->where('id', $shift_worker_id)->value('shift_id') ?>
  1318.                                                         <?php $time = DB::table('shift')->where('id', $shift_id)->value('time') ?>
  1319.                                                         <?php $type = DB::table('shift')->where('id', $shift_id)->value('type') ?>
  1320.                                                         <?php $name = DB::table('worker')->where('id', $worker_id)->value('name') ?>
  1321.                                                         @if($type == "Swing")
  1322.                                                             <th style="font-size:11px" colspan="1">{{$name}}</th>
  1323.                                                             <th style="font-size:7px" colspan="1">{{$time}}</th>
  1324.                                                             <th style="font-size:11px" colspan="1">{{$zone}}</th>
  1325.                                                             <th colspan="1"></th>
  1326.                                                             <th colspan="1"></th>
  1327.                                                             <th colspan="1"></th>
  1328.                                                             <?php $j++; ?>
  1329.                                                         @endif
  1330.                                                         @if($j % 4 == 0)
  1331.                                                             </tr>
  1332.                                                             <tr>
  1333.                                                         @endif
  1334.                                                     @endforeach
  1335.                                                 </tr>
  1336.  
  1337.                                                 <tr> <!-- ROW 16 -->
  1338.                                                     <th style="text-align: center; font-size: 14px;" colspan="24"></th>
  1339.                                                 </tr>
  1340.  
  1341.                                                 <tr> <!-- ROW 4 -->
  1342.                                                     <th style="text-align: center; font-size: 20px;" colspan="24">GRAVEYARD SHIFT MOD, Sara (830pm-615am)</th>
  1343.                                                 </tr>
  1344.                                                 <tr> <!-- ROW 5 -->
  1345.                                                     <th style="text-align: center; font-size: 16px;" colspan="24">Dispatch: MOD</th>
  1346.                                                 </tr>
  1347.                                                 <tr> <!-- ROW 6 -->
  1348.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  1349.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  1350.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
  1351.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
  1352.  
  1353.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  1354.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  1355.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
  1356.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
  1357.  
  1358.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  1359.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  1360.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
  1361.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
  1362.  
  1363.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  1364.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  1365.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
  1366.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
  1367.                                                 </tr>
  1368.  
  1369.                                                 <tr> <!-- ROW 7 -->
  1370.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
  1371.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
  1372.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
  1373.                                                     <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
  1374.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
  1375.  
  1376.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
  1377.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
  1378.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
  1379.                                                     <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
  1380.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
  1381.  
  1382.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
  1383.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
  1384.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
  1385.                                                     <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
  1386.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
  1387.  
  1388.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
  1389.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
  1390.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
  1391.                                                     <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
  1392.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
  1393.                                                 </tr>
  1394.  
  1395.                                                 <tr> <!-- ROW 8 -->
  1396.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  1397.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  1398.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  1399.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">4pm boxes</th>
  1400.  
  1401.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  1402.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  1403.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  1404.                                                     <th style="text-align: center; font-size: 11px;" colspan="3"></th>
  1405.  
  1406.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  1407.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  1408.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  1409.                                                     <th style="text-align: center; font-size: 11px;" colspan="3"></th>
  1410.  
  1411.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  1412.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  1413.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  1414.                                                     <th style="text-align: center; font-size: 11px;" colspan="2"></th>
  1415.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  1416.                                                 </tr>
  1417.  
  1418.                                                 <tr> <!-- ROW 9 -->
  1419.                                                     <th style="text-align: center; font-size: 14px;" colspan="24">Ambassadors</th>
  1420.                                                 </tr>
  1421.  
  1422.                                                 <tr> <!-- ROW 10 -->
  1423.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  1424.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  1425.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
  1426.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
  1427.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
  1428.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
  1429.  
  1430.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  1431.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  1432.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
  1433.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
  1434.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
  1435.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
  1436.  
  1437.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  1438.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  1439.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
  1440.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
  1441.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
  1442.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
  1443.  
  1444.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  1445.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  1446.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
  1447.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
  1448.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
  1449.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
  1450.                                                 </tr>
  1451.  
  1452.                                                 <?php $k = 0; ?>
  1453.  
  1454.                                                 <tr>
  1455.                                                     @foreach($wednesdays as $wednesday)
  1456.                                                         <?php $shift_worker_id = DB::table('schedule')->where('id', $wednesday->id)->value('shift_worker_id') ?>
  1457.                                                         <?php $zone_id = DB::table('schedule')->where('id', $wednesday->id)->value('zone_id') ?>
  1458.                                                         <?php $zone = DB::table('zone')->where('id', $zone_id)->value('name') ?>
  1459.                                                         <?php $worker_id = DB::table('shift_worker')->where('id', $shift_worker_id)->value('worker_id') ?>
  1460.                                                         <?php $shift_id = DB::table('shift_worker')->where('id', $shift_worker_id)->value('shift_id') ?>
  1461.                                                         <?php $time = DB::table('shift')->where('id', $shift_id)->value('time') ?>
  1462.                                                         <?php $type = DB::table('shift')->where('id', $shift_id)->value('type') ?>
  1463.                                                         <?php $name = DB::table('worker')->where('id', $worker_id)->value('name') ?>
  1464.                                                         @if($type == "Graveyard")
  1465.                                                             <th style="font-size:11px" colspan="1">{{$name}}</th>
  1466.                                                             <th style="font-size:7px" colspan="1">{{$time}}</th>
  1467.                                                             <th style="font-size:11px" colspan="1">{{$zone}}</th>
  1468.                                                             <th colspan="1"></th>
  1469.                                                             <th colspan="1"></th>
  1470.                                                             <th colspan="1"></th>
  1471.                                                             <?php $k++; ?>
  1472.                                                         @endif
  1473.                                                         @if($k % 4 == 0)
  1474.                                                             </tr>
  1475.                                                             <tr>
  1476.                                                         @endif
  1477.                                                     @endforeach
  1478.                                                 </tr>
  1479.  
  1480.                                                 <tr> <!-- ROW 16 -->
  1481.                                                     <th style="text-align: center; font-size: 14px;" colspan="24"></th>
  1482.                                                 </tr>
  1483.                                                 </tbody>
  1484.                                             </table>
  1485.                                         </div>
  1486.                                         <div role="tabpanel" class="tab-pane fade" id="tab_content4" aria-labelledby="profile-tab">
  1487.                                             <table class="table table-bordered" style="table-layout:fixed; width:100%;">
  1488.                                                 <thead>
  1489.                                                 <tr> <!-- ROW 1 -->
  1490.                                                     <th style="text-align: center; font-size: 20px;" colspan="24">Gaming Operations Manager: Tiffany Watler</th>
  1491.                                                 </tr>
  1492.                                                 <tr> <!-- ROW 2 -->
  1493.                                                     <th style="text-align: center; font-size: 20px;" colspan="24">Daily Zone Assignments</th>
  1494.                                                 </tr>
  1495.                                                 <tr> <!-- ROW 3 -->
  1496.                                                     <?php $date = DB::table('schedule')->where('day', 'Thursday')->value('date'); ?>
  1497.                                                     <th style="text-align: center; font-size: 14px;" colspan="24">Thursday Date: {{$date}}</th>
  1498.                                                 </tr>
  1499.                                                 </thead>
  1500.                                                 <tbody>
  1501.                                                 <tr> <!-- ROW 4 -->
  1502.                                                     <th style="text-align: center; font-size: 20px;" colspan="24">DAY SHIFT MOD, Clemson (8am-430pm)</th>
  1503.                                                 </tr>
  1504.                                                 <tr> <!-- ROW 5 -->
  1505.                                                     <th style="text-align: center; font-size: 16px;" colspan="24">Dispatch: MOD</th>
  1506.                                                 </tr>
  1507.                                                 <tr> <!-- ROW 6 -->
  1508.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  1509.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  1510.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
  1511.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
  1512.  
  1513.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  1514.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  1515.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
  1516.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
  1517.  
  1518.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  1519.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  1520.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
  1521.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
  1522.  
  1523.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  1524.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  1525.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
  1526.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
  1527.                                                 </tr>
  1528.  
  1529.                                                 <tr> <!-- ROW 7 -->
  1530.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
  1531.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
  1532.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
  1533.                                                     <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
  1534.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
  1535.  
  1536.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
  1537.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
  1538.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
  1539.                                                     <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
  1540.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
  1541.  
  1542.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
  1543.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
  1544.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
  1545.                                                     <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
  1546.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
  1547.  
  1548.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
  1549.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
  1550.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
  1551.                                                     <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
  1552.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
  1553.                                                 </tr>
  1554.  
  1555.                                                 <tr> <!-- ROW 8 -->
  1556.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  1557.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  1558.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  1559.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">4pm boxes</th>
  1560.  
  1561.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  1562.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  1563.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  1564.                                                     <th style="text-align: center; font-size: 11px;" colspan="3"></th>
  1565.  
  1566.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  1567.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  1568.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  1569.                                                     <th style="text-align: center; font-size: 11px;" colspan="3"></th>
  1570.  
  1571.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  1572.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  1573.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  1574.                                                     <th style="text-align: center; font-size: 11px;" colspan="2"></th>
  1575.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  1576.                                                 </tr>
  1577.  
  1578.                                                 <tr> <!-- ROW 9 -->
  1579.                                                     <th style="text-align: center; font-size: 14px;" colspan="24">Ambassadors</th>
  1580.                                                 </tr>
  1581.  
  1582.                                                 <tr> <!-- ROW 10 -->
  1583.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  1584.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  1585.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
  1586.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
  1587.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
  1588.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
  1589.  
  1590.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  1591.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  1592.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
  1593.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
  1594.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
  1595.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
  1596.  
  1597.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  1598.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  1599.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
  1600.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
  1601.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
  1602.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
  1603.  
  1604.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  1605.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  1606.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
  1607.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
  1608.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
  1609.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
  1610.                                                 </tr>
  1611.  
  1612.  
  1613.                                                 <?php $i = 0; ?>
  1614.  
  1615.                                                 <tr>
  1616.                                                     @foreach($thursdays as $thursday)
  1617.                                                         <?php $shift_worker_id = DB::table('schedule')->where('id', $thursday->id)->value('shift_worker_id') ?>
  1618.                                                         <?php $zone_id = DB::table('schedule')->where('id', $thursday->id)->value('zone_id') ?>
  1619.                                                         <?php $zone = DB::table('zone')->where('id', $zone_id)->value('name') ?>
  1620.                                                         <?php $worker_id = DB::table('shift_worker')->where('id', $shift_worker_id)->value('worker_id') ?>
  1621.                                                         <?php $shift_id = DB::table('shift_worker')->where('id', $shift_worker_id)->value('shift_id') ?>
  1622.                                                         <?php $time = DB::table('shift')->where('id', $shift_id)->value('time') ?>
  1623.                                                         <?php $type = DB::table('shift')->where('id', $shift_id)->value('type') ?>
  1624.                                                         <?php $name = DB::table('worker')->where('id', $worker_id)->value('name') ?>
  1625.                                                         @if($type == "Day")
  1626.                                                             <th style="font-size:11px" colspan="1">{{$name}}</th>
  1627.                                                             <th style="font-size:7px" colspan="1">{{$time}}</th>
  1628.                                                             <th style="font-size:11px" colspan="1">{{$zone}}</th>
  1629.                                                             <th colspan="1"></th>
  1630.                                                             <th colspan="1"></th>
  1631.                                                             <th colspan="1"></th>
  1632.                                                             <?php $i++; ?>
  1633.                                                         @endif
  1634.                                                         @if($i % 4 == 0)
  1635.                                                 </tr>
  1636.                                                 <tr>
  1637.                                                     @endif
  1638.                                                     @endforeach
  1639.                                                 </tr>
  1640.  
  1641.                                                 <tr> <!-- ROW 16 -->
  1642.                                                     <th style="text-align: center; font-size: 14px;" colspan="24"></th>
  1643.                                                 </tr>
  1644.  
  1645.                                                 <tr> <!-- ROW 4 -->
  1646.                                                     <th style="text-align: center; font-size: 20px;" colspan="24">SWING SHIFT MOD, Brandon (215pm-830pm)</th>
  1647.                                                 </tr>
  1648.                                                 <tr> <!-- ROW 5 -->
  1649.                                                     <th style="text-align: center; font-size: 16px;" colspan="24">Dispatch: MOD</th>
  1650.                                                 </tr>
  1651.                                                 <tr> <!-- ROW 6 -->
  1652.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  1653.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  1654.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
  1655.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
  1656.  
  1657.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  1658.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  1659.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
  1660.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
  1661.  
  1662.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  1663.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  1664.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
  1665.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
  1666.  
  1667.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  1668.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  1669.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
  1670.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
  1671.                                                 </tr>
  1672.  
  1673.                                                 <tr> <!-- ROW 7 -->
  1674.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
  1675.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
  1676.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
  1677.                                                     <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
  1678.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
  1679.  
  1680.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
  1681.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
  1682.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
  1683.                                                     <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
  1684.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
  1685.  
  1686.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
  1687.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
  1688.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
  1689.                                                     <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
  1690.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
  1691.  
  1692.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
  1693.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
  1694.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
  1695.                                                     <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
  1696.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
  1697.                                                 </tr>
  1698.  
  1699.                                                 <tr> <!-- ROW 8 -->
  1700.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  1701.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  1702.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  1703.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">4pm boxes</th>
  1704.  
  1705.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  1706.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  1707.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  1708.                                                     <th style="text-align: center; font-size: 11px;" colspan="3"></th>
  1709.  
  1710.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  1711.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  1712.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  1713.                                                     <th style="text-align: center; font-size: 11px;" colspan="3"></th>
  1714.  
  1715.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  1716.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  1717.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  1718.                                                     <th style="text-align: center; font-size: 11px;" colspan="2"></th>
  1719.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  1720.                                                 </tr>
  1721.  
  1722.                                                 <tr> <!-- ROW 9 -->
  1723.                                                     <th style="text-align: center; font-size: 14px;" colspan="24">Ambassadors</th>
  1724.                                                 </tr>
  1725.  
  1726.                                                 <tr> <!-- ROW 10 -->
  1727.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  1728.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  1729.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
  1730.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
  1731.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
  1732.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
  1733.  
  1734.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  1735.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  1736.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
  1737.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
  1738.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
  1739.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
  1740.  
  1741.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  1742.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  1743.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
  1744.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
  1745.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
  1746.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
  1747.  
  1748.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  1749.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  1750.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
  1751.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
  1752.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
  1753.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
  1754.                                                 </tr>
  1755.  
  1756.                                                 <?php $j = 0; ?>
  1757.  
  1758.                                                 <tr>
  1759.                                                     @foreach($thursdays as $thursday)
  1760.                                                         <?php $shift_worker_id = DB::table('schedule')->where('id', $thursday->id)->value('shift_worker_id') ?>
  1761.                                                         <?php $zone_id = DB::table('schedule')->where('id', $thursday->id)->value('zone_id') ?>
  1762.                                                         <?php $zone = DB::table('zone')->where('id', $zone_id)->value('name') ?>
  1763.                                                         <?php $worker_id = DB::table('shift_worker')->where('id', $shift_worker_id)->value('worker_id') ?>
  1764.                                                         <?php $shift_id = DB::table('shift_worker')->where('id', $shift_worker_id)->value('shift_id') ?>
  1765.                                                         <?php $time = DB::table('shift')->where('id', $shift_id)->value('time') ?>
  1766.                                                         <?php $type = DB::table('shift')->where('id', $shift_id)->value('type') ?>
  1767.                                                         <?php $name = DB::table('worker')->where('id', $worker_id)->value('name') ?>
  1768.                                                         @if($type == "Swing")
  1769.                                                             <th style="font-size:11px" colspan="1">{{$name}}</th>
  1770.                                                             <th style="font-size:7px" colspan="1">{{$time}}</th>
  1771.                                                             <th style="font-size:11px" colspan="1">{{$zone}}</th>
  1772.                                                             <th colspan="1"></th>
  1773.                                                             <th colspan="1"></th>
  1774.                                                             <th colspan="1"></th>
  1775.                                                             <?php $j++; ?>
  1776.                                                         @endif
  1777.                                                         @if($j % 4 == 0)
  1778.                                                             </tr>
  1779.                                                             <tr>
  1780.                                                         @endif
  1781.                                                     @endforeach
  1782.                                                 </tr>
  1783.  
  1784.                                                 <tr> <!-- ROW 16 -->
  1785.                                                     <th style="text-align: center; font-size: 14px;" colspan="24"></th>
  1786.                                                 </tr>
  1787.  
  1788.                                                 <tr> <!-- ROW 4 -->
  1789.                                                     <th style="text-align: center; font-size: 20px;" colspan="24">GRAVEYARD SHIFT MOD, Sara (830pm-615am)</th>
  1790.                                                 </tr>
  1791.                                                 <tr> <!-- ROW 5 -->
  1792.                                                     <th style="text-align: center; font-size: 16px;" colspan="24">Dispatch: MOD</th>
  1793.                                                 </tr>
  1794.                                                 <tr> <!-- ROW 6 -->
  1795.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  1796.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  1797.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
  1798.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
  1799.  
  1800.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  1801.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  1802.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
  1803.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
  1804.  
  1805.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  1806.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  1807.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
  1808.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
  1809.  
  1810.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  1811.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  1812.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
  1813.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
  1814.                                                 </tr>
  1815.  
  1816.                                                 <tr> <!-- ROW 7 -->
  1817.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
  1818.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
  1819.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
  1820.                                                     <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
  1821.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
  1822.  
  1823.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
  1824.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
  1825.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
  1826.                                                     <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
  1827.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
  1828.  
  1829.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
  1830.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
  1831.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
  1832.                                                     <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
  1833.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
  1834.  
  1835.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
  1836.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
  1837.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
  1838.                                                     <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
  1839.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
  1840.                                                 </tr>
  1841.  
  1842.                                                 <tr> <!-- ROW 8 -->
  1843.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  1844.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  1845.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  1846.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">4pm boxes</th>
  1847.  
  1848.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  1849.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  1850.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  1851.                                                     <th style="text-align: center; font-size: 11px;" colspan="3"></th>
  1852.  
  1853.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  1854.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  1855.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  1856.                                                     <th style="text-align: center; font-size: 11px;" colspan="3"></th>
  1857.  
  1858.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  1859.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  1860.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  1861.                                                     <th style="text-align: center; font-size: 11px;" colspan="2"></th>
  1862.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  1863.                                                 </tr>
  1864.  
  1865.                                                 <tr> <!-- ROW 9 -->
  1866.                                                     <th style="text-align: center; font-size: 14px;" colspan="24">Ambassadors</th>
  1867.                                                 </tr>
  1868.  
  1869.                                                 <tr> <!-- ROW 10 -->
  1870.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  1871.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  1872.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
  1873.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
  1874.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
  1875.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
  1876.  
  1877.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  1878.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  1879.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
  1880.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
  1881.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
  1882.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
  1883.  
  1884.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  1885.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  1886.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
  1887.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
  1888.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
  1889.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
  1890.  
  1891.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  1892.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  1893.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
  1894.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
  1895.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
  1896.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
  1897.                                                 </tr>
  1898.  
  1899.                                                 <?php $k = 0; ?>
  1900.  
  1901.                                                 <tr>
  1902.                                                     @foreach($thursdays as $thursday)
  1903.                                                         <?php $shift_worker_id = DB::table('schedule')->where('id', $thursday->id)->value('shift_worker_id') ?>
  1904.                                                         <?php $zone_id = DB::table('schedule')->where('id', $thursday->id)->value('zone_id') ?>
  1905.                                                         <?php $zone = DB::table('zone')->where('id', $zone_id)->value('name') ?>
  1906.                                                         <?php $worker_id = DB::table('shift_worker')->where('id', $shift_worker_id)->value('worker_id') ?>
  1907.                                                         <?php $shift_id = DB::table('shift_worker')->where('id', $shift_worker_id)->value('shift_id') ?>
  1908.                                                         <?php $time = DB::table('shift')->where('id', $shift_id)->value('time') ?>
  1909.                                                         <?php $type = DB::table('shift')->where('id', $shift_id)->value('type') ?>
  1910.                                                         <?php $name = DB::table('worker')->where('id', $worker_id)->value('name') ?>
  1911.                                                         @if($type == "Graveyard")
  1912.                                                             <th style="font-size:11px" colspan="1">{{$name}}</th>
  1913.                                                             <th style="font-size:7px" colspan="1">{{$time}}</th>
  1914.                                                             <th style="font-size:11px" colspan="1">{{$zone}}</th>
  1915.                                                             <th colspan="1"></th>
  1916.                                                             <th colspan="1"></th>
  1917.                                                             <th colspan="1"></th>
  1918.                                                             <?php $k++; ?>
  1919.                                                         @endif
  1920.                                                         @if($k % 4 == 0)
  1921.                                                             </tr>
  1922.                                                             <tr>
  1923.                                                         @endif
  1924.                                                     @endforeach
  1925.                                                 </tr>
  1926.  
  1927.                                                 <tr> <!-- ROW 16 -->
  1928.                                                     <th style="text-align: center; font-size: 14px;" colspan="24"></th>
  1929.                                                 </tr>
  1930.                                                 </tbody>
  1931.                                             </table>
  1932.                                         </div>
  1933.                                         <div role="tabpanel" class="tab-pane fade" id="tab_content5" aria-labelledby="profile-tab">
  1934.                                             <table class="table table-bordered" style="table-layout:fixed; width:100%;">
  1935.                                                 <thead>
  1936.                                                 <tr> <!-- ROW 1 -->
  1937.                                                     <th style="text-align: center; font-size: 20px;" colspan="24">Gaming Operations Manager: Tiffany Watler</th>
  1938.                                                 </tr>
  1939.                                                 <tr> <!-- ROW 2 -->
  1940.                                                     <th style="text-align: center; font-size: 20px;" colspan="24">Daily Zone Assignments</th>
  1941.                                                 </tr>
  1942.                                                 <tr> <!-- ROW 3 -->
  1943.                                                     <?php $date = DB::table('schedule')->where('day', 'Friday')->value('date'); ?>
  1944.                                                     <th style="text-align: center; font-size: 14px;" colspan="24">Friday Date: {{$date}}</th>
  1945.                                                 </tr>
  1946.                                                 </thead>
  1947.                                                 <tbody>
  1948.                                                 <tr> <!-- ROW 4 -->
  1949.                                                     <th style="text-align: center; font-size: 20px;" colspan="24">DAY SHIFT MOD, Clemson (8am-430pm)</th>
  1950.                                                 </tr>
  1951.                                                 <tr> <!-- ROW 5 -->
  1952.                                                     <th style="text-align: center; font-size: 16px;" colspan="24">Dispatch: MOD</th>
  1953.                                                 </tr>
  1954.                                                 <tr> <!-- ROW 6 -->
  1955.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  1956.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  1957.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
  1958.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
  1959.  
  1960.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  1961.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  1962.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
  1963.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
  1964.  
  1965.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  1966.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  1967.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
  1968.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
  1969.  
  1970.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  1971.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  1972.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
  1973.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
  1974.                                                 </tr>
  1975.  
  1976.                                                 <tr> <!-- ROW 7 -->
  1977.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
  1978.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
  1979.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
  1980.                                                     <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
  1981.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
  1982.  
  1983.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
  1984.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
  1985.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
  1986.                                                     <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
  1987.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
  1988.  
  1989.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
  1990.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
  1991.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
  1992.                                                     <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
  1993.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
  1994.  
  1995.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
  1996.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
  1997.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
  1998.                                                     <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
  1999.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
  2000.                                                 </tr>
  2001.  
  2002.                                                 <tr> <!-- ROW 8 -->
  2003.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2004.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2005.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2006.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">4pm boxes</th>
  2007.  
  2008.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2009.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2010.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2011.                                                     <th style="text-align: center; font-size: 11px;" colspan="3"></th>
  2012.  
  2013.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2014.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2015.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2016.                                                     <th style="text-align: center; font-size: 11px;" colspan="3"></th>
  2017.  
  2018.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2019.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2020.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2021.                                                     <th style="text-align: center; font-size: 11px;" colspan="2"></th>
  2022.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2023.                                                 </tr>
  2024.  
  2025.                                                 <tr> <!-- ROW 9 -->
  2026.                                                     <th style="text-align: center; font-size: 14px;" colspan="24">Ambassadors</th>
  2027.                                                 </tr>
  2028.  
  2029.                                                 <tr> <!-- ROW 10 -->
  2030.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  2031.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  2032.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
  2033.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
  2034.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
  2035.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
  2036.  
  2037.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  2038.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  2039.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
  2040.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
  2041.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
  2042.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
  2043.  
  2044.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  2045.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  2046.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
  2047.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
  2048.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
  2049.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
  2050.  
  2051.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  2052.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  2053.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
  2054.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
  2055.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
  2056.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
  2057.                                                 </tr>
  2058.  
  2059.                                                 <?php $i = 0; ?>
  2060.  
  2061.                                                 <tr>
  2062.                                                     @foreach($fridays as $friday)
  2063.                                                         <?php $shift_worker_id = DB::table('schedule')->where('id', $friday->id)->value('shift_worker_id') ?>
  2064.                                                         <?php $zone_id = DB::table('schedule')->where('id', $friday->id)->value('zone_id') ?>
  2065.                                                         <?php $zone = DB::table('zone')->where('id', $zone_id)->value('name') ?>
  2066.                                                         <?php $worker_id = DB::table('shift_worker')->where('id', $shift_worker_id)->value('worker_id') ?>
  2067.                                                         <?php $shift_id = DB::table('shift_worker')->where('id', $shift_worker_id)->value('shift_id') ?>
  2068.                                                         <?php $time = DB::table('shift')->where('id', $shift_id)->value('time') ?>
  2069.                                                         <?php $type = DB::table('shift')->where('id', $shift_id)->value('type') ?>
  2070.                                                         <?php $name = DB::table('worker')->where('id', $worker_id)->value('name') ?>
  2071.                                                         @if($type == "Day")
  2072.                                                             <th style="font-size:11px" colspan="1">{{$name}}</th>
  2073.                                                             <th style="font-size:7px" colspan="1">{{$time}}</th>
  2074.                                                             <th style="font-size:11px" colspan="1">{{$zone}}</th>
  2075.                                                             <th colspan="1"></th>
  2076.                                                             <th colspan="1"></th>
  2077.                                                             <th colspan="1"></th>
  2078.                                                             <?php $i++; ?>
  2079.                                                         @endif
  2080.                                                         @if($i % 4 == 0)
  2081.                                                             </tr>
  2082.                                                             <tr>
  2083.                                                         @endif
  2084.                                                     @endforeach
  2085.                                                 </tr>
  2086.  
  2087.                                                 <tr> <!-- ROW 16 -->
  2088.                                                     <th style="text-align: center; font-size: 14px;" colspan="24"></th>
  2089.                                                 </tr>
  2090.  
  2091.                                                 <tr> <!-- ROW 4 -->
  2092.                                                     <th style="text-align: center; font-size: 20px;" colspan="24">SWING SHIFT MOD, Brandon (215pm-830pm)</th>
  2093.                                                 </tr>
  2094.                                                 <tr> <!-- ROW 5 -->
  2095.                                                     <th style="text-align: center; font-size: 16px;" colspan="24">Dispatch: MOD</th>
  2096.                                                 </tr>
  2097.                                                 <tr> <!-- ROW 6 -->
  2098.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  2099.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  2100.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
  2101.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
  2102.  
  2103.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  2104.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  2105.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
  2106.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
  2107.  
  2108.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  2109.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  2110.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
  2111.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
  2112.  
  2113.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  2114.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  2115.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
  2116.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
  2117.                                                 </tr>
  2118.  
  2119.                                                 <tr> <!-- ROW 7 -->
  2120.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
  2121.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
  2122.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
  2123.                                                     <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
  2124.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
  2125.  
  2126.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
  2127.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
  2128.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
  2129.                                                     <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
  2130.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
  2131.  
  2132.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
  2133.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
  2134.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
  2135.                                                     <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
  2136.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
  2137.  
  2138.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
  2139.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
  2140.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
  2141.                                                     <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
  2142.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
  2143.                                                 </tr>
  2144.  
  2145.                                                 <tr> <!-- ROW 8 -->
  2146.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2147.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2148.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2149.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">4pm boxes</th>
  2150.  
  2151.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2152.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2153.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2154.                                                     <th style="text-align: center; font-size: 11px;" colspan="3"></th>
  2155.  
  2156.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2157.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2158.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2159.                                                     <th style="text-align: center; font-size: 11px;" colspan="3"></th>
  2160.  
  2161.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2162.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2163.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2164.                                                     <th style="text-align: center; font-size: 11px;" colspan="2"></th>
  2165.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2166.                                                 </tr>
  2167.  
  2168.                                                 <tr> <!-- ROW 9 -->
  2169.                                                     <th style="text-align: center; font-size: 14px;" colspan="24">Ambassadors</th>
  2170.                                                 </tr>
  2171.  
  2172.                                                 <tr> <!-- ROW 10 -->
  2173.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  2174.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  2175.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
  2176.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
  2177.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
  2178.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
  2179.  
  2180.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  2181.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  2182.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
  2183.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
  2184.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
  2185.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
  2186.  
  2187.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  2188.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  2189.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
  2190.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
  2191.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
  2192.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
  2193.  
  2194.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  2195.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  2196.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
  2197.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
  2198.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
  2199.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
  2200.                                                 </tr>
  2201.  
  2202.                                                 <?php $j = 0; ?>
  2203.  
  2204.                                                 <tr>
  2205.                                                     @foreach($fridays as $friday)
  2206.                                                         <?php $shift_worker_id = DB::table('schedule')->where('id', $friday->id)->value('shift_worker_id') ?>
  2207.                                                         <?php $zone_id = DB::table('schedule')->where('id', $friday->id)->value('zone_id') ?>
  2208.                                                         <?php $zone = DB::table('zone')->where('id', $zone_id)->value('name') ?>
  2209.                                                         <?php $worker_id = DB::table('shift_worker')->where('id', $shift_worker_id)->value('worker_id') ?>
  2210.                                                         <?php $shift_id = DB::table('shift_worker')->where('id', $shift_worker_id)->value('shift_id') ?>
  2211.                                                         <?php $time = DB::table('shift')->where('id', $shift_id)->value('time') ?>
  2212.                                                         <?php $type = DB::table('shift')->where('id', $shift_id)->value('type') ?>
  2213.                                                         <?php $name = DB::table('worker')->where('id', $worker_id)->value('name') ?>
  2214.                                                         @if($type == "Swing")
  2215.                                                             <th style="font-size:11px" colspan="1">{{$name}}</th>
  2216.                                                             <th style="font-size:7px" colspan="1">{{$time}}</th>
  2217.                                                             <th style="font-size:11px" colspan="1">{{$zone}}</th>
  2218.                                                             <th colspan="1"></th>
  2219.                                                             <th colspan="1"></th>
  2220.                                                             <th colspan="1"></th>
  2221.                                                             <?php $j++; ?>
  2222.                                                         @endif
  2223.                                                         @if($j % 4 == 0)
  2224.                                                             </tr>
  2225.                                                             <tr>
  2226.                                                         @endif
  2227.                                                     @endforeach
  2228.                                                 </tr>
  2229.  
  2230.                                                 <tr> <!-- ROW 16 -->
  2231.                                                     <th style="text-align: center; font-size: 14px;" colspan="24"></th>
  2232.                                                 </tr>
  2233.  
  2234.                                                 <tr> <!-- ROW 4 -->
  2235.                                                     <th style="text-align: center; font-size: 20px;" colspan="24">GRAVEYARD SHIFT MOD, Sara (830pm-615am)</th>
  2236.                                                 </tr>
  2237.                                                 <tr> <!-- ROW 5 -->
  2238.                                                     <th style="text-align: center; font-size: 16px;" colspan="24">Dispatch: MOD</th>
  2239.                                                 </tr>
  2240.                                                 <tr> <!-- ROW 6 -->
  2241.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  2242.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  2243.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
  2244.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
  2245.  
  2246.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  2247.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  2248.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
  2249.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
  2250.  
  2251.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  2252.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  2253.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
  2254.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
  2255.  
  2256.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  2257.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  2258.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
  2259.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
  2260.                                                 </tr>
  2261.  
  2262.                                                 <tr> <!-- ROW 7 -->
  2263.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
  2264.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
  2265.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
  2266.                                                     <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
  2267.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
  2268.  
  2269.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
  2270.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
  2271.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
  2272.                                                     <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
  2273.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
  2274.  
  2275.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
  2276.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
  2277.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
  2278.                                                     <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
  2279.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
  2280.  
  2281.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
  2282.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
  2283.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
  2284.                                                     <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
  2285.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
  2286.                                                 </tr>
  2287.  
  2288.                                                 <tr> <!-- ROW 8 -->
  2289.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2290.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2291.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2292.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">4pm boxes</th>
  2293.  
  2294.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2295.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2296.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2297.                                                     <th style="text-align: center; font-size: 11px;" colspan="3"></th>
  2298.  
  2299.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2300.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2301.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2302.                                                     <th style="text-align: center; font-size: 11px;" colspan="3"></th>
  2303.  
  2304.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2305.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2306.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2307.                                                     <th style="text-align: center; font-size: 11px;" colspan="2"></th>
  2308.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2309.                                                 </tr>
  2310.  
  2311.                                                 <tr> <!-- ROW 9 -->
  2312.                                                     <th style="text-align: center; font-size: 14px;" colspan="24">Ambassadors</th>
  2313.                                                 </tr>
  2314.  
  2315.                                                 <tr> <!-- ROW 10 -->
  2316.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  2317.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  2318.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
  2319.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
  2320.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
  2321.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
  2322.  
  2323.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  2324.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  2325.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
  2326.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
  2327.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
  2328.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
  2329.  
  2330.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  2331.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  2332.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
  2333.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
  2334.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
  2335.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
  2336.  
  2337.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  2338.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  2339.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
  2340.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
  2341.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
  2342.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
  2343.                                                 </tr>
  2344.  
  2345.                                                 <?php $k = 0; ?>
  2346.  
  2347.                                                 <tr>
  2348.                                                     @foreach($fridays as $friday)
  2349.                                                         <?php $shift_worker_id = DB::table('schedule')->where('id', $friday->id)->value('shift_worker_id') ?>
  2350.                                                         <?php $zone_id = DB::table('schedule')->where('id', $friday->id)->value('zone_id') ?>
  2351.                                                         <?php $zone = DB::table('zone')->where('id', $zone_id)->value('name') ?>
  2352.                                                         <?php $worker_id = DB::table('shift_worker')->where('id', $shift_worker_id)->value('worker_id') ?>
  2353.                                                         <?php $shift_id = DB::table('shift_worker')->where('id', $shift_worker_id)->value('shift_id') ?>
  2354.                                                         <?php $time = DB::table('shift')->where('id', $shift_id)->value('time') ?>
  2355.                                                         <?php $type = DB::table('shift')->where('id', $shift_id)->value('type') ?>
  2356.                                                         <?php $name = DB::table('worker')->where('id', $worker_id)->value('name') ?>
  2357.                                                         @if($type == "Graveyard")
  2358.                                                             <th style="font-size:11px" colspan="1">{{$name}}</th>
  2359.                                                             <th style="font-size:7px" colspan="1">{{$time}}</th>
  2360.                                                             <th style="font-size:11px" colspan="1">{{$zone}}</th>
  2361.                                                             <th colspan="1"></th>
  2362.                                                             <th colspan="1"></th>
  2363.                                                             <th colspan="1"></th>
  2364.                                                             <?php $k++; ?>
  2365.                                                         @endif
  2366.                                                         @if($k % 4 == 0)
  2367.                                                             </tr>
  2368.                                                             <tr>
  2369.                                                         @endif
  2370.                                                     @endforeach
  2371.                                                 </tr>
  2372.  
  2373.                                                 <tr> <!-- ROW 16 -->
  2374.                                                     <th style="text-align: center; font-size: 14px;" colspan="24"></th>
  2375.                                                 </tr>
  2376.                                                 </tbody>
  2377.                                             </table>
  2378.                                         </div>
  2379.                                         <div role="tabpanel" class="tab-pane fade" id="tab_content6" aria-labelledby="profile-tab">
  2380.                                             <table class="table table-bordered" style="table-layout:fixed; width:100%;">
  2381.                                                 <thead>
  2382.                                                 <tr> <!-- ROW 1 -->
  2383.                                                     <th style="text-align: center; font-size: 20px;" colspan="24">Gaming Operations Manager: Tiffany Watler</th>
  2384.                                                 </tr>
  2385.                                                 <tr> <!-- ROW 2 -->
  2386.                                                     <th style="text-align: center; font-size: 20px;" colspan="24">Daily Zone Assignments</th>
  2387.                                                 </tr>
  2388.                                                 <tr> <!-- ROW 3 -->
  2389.                                                     <?php $date = DB::table('schedule')->where('day', 'Saturday')->value('date'); ?>
  2390.                                                     <th style="text-align: center; font-size: 14px;" colspan="24">Saturday Date: {{$date}}</th>
  2391.                                                 </tr>
  2392.                                                 </thead>
  2393.                                                 <tbody>
  2394.                                                 <tr> <!-- ROW 4 -->
  2395.                                                     <th style="text-align: center; font-size: 20px;" colspan="24">DAY SHIFT MOD, Clemson (8am-430pm)</th>
  2396.                                                 </tr>
  2397.                                                 <tr> <!-- ROW 5 -->
  2398.                                                     <th style="text-align: center; font-size: 16px;" colspan="24">Dispatch: MOD</th>
  2399.                                                 </tr>
  2400.                                                 <tr> <!-- ROW 6 -->
  2401.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  2402.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  2403.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
  2404.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
  2405.  
  2406.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  2407.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  2408.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
  2409.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
  2410.  
  2411.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  2412.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  2413.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
  2414.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
  2415.  
  2416.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  2417.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  2418.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
  2419.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
  2420.                                                 </tr>
  2421.  
  2422.                                                 <tr> <!-- ROW 7 -->
  2423.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
  2424.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
  2425.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
  2426.                                                     <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
  2427.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
  2428.  
  2429.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
  2430.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
  2431.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
  2432.                                                     <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
  2433.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
  2434.  
  2435.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
  2436.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
  2437.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
  2438.                                                     <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
  2439.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
  2440.  
  2441.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
  2442.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
  2443.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
  2444.                                                     <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
  2445.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
  2446.                                                 </tr>
  2447.  
  2448.                                                 <tr> <!-- ROW 8 -->
  2449.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2450.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2451.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2452.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">4pm boxes</th>
  2453.  
  2454.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2455.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2456.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2457.                                                     <th style="text-align: center; font-size: 11px;" colspan="3"></th>
  2458.  
  2459.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2460.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2461.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2462.                                                     <th style="text-align: center; font-size: 11px;" colspan="3"></th>
  2463.  
  2464.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2465.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2466.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2467.                                                     <th style="text-align: center; font-size: 11px;" colspan="2"></th>
  2468.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2469.                                                 </tr>
  2470.  
  2471.                                                 <tr> <!-- ROW 9 -->
  2472.                                                     <th style="text-align: center; font-size: 14px;" colspan="24">Ambassadors</th>
  2473.                                                 </tr>
  2474.  
  2475.                                                 <tr> <!-- ROW 10 -->
  2476.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  2477.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  2478.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
  2479.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
  2480.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
  2481.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
  2482.  
  2483.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  2484.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  2485.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
  2486.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
  2487.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
  2488.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
  2489.  
  2490.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  2491.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  2492.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
  2493.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
  2494.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
  2495.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
  2496.  
  2497.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  2498.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  2499.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
  2500.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
  2501.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
  2502.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
  2503.                                                 </tr>
  2504.  
  2505.                                                 <?php $i = 0; ?>
  2506.  
  2507.                                                 <tr>
  2508.                                                     @foreach($saturdays as $saturday)
  2509.                                                         <?php $shift_worker_id = DB::table('schedule')->where('id', $saturday->id)->value('shift_worker_id') ?>
  2510.                                                         <?php $zone_id = DB::table('schedule')->where('id', $saturday->id)->value('zone_id') ?>
  2511.                                                         <?php $zone = DB::table('zone')->where('id', $zone_id)->value('name') ?>
  2512.                                                         <?php $worker_id = DB::table('shift_worker')->where('id', $shift_worker_id)->value('worker_id') ?>
  2513.                                                         <?php $shift_id = DB::table('shift_worker')->where('id', $shift_worker_id)->value('shift_id') ?>
  2514.                                                         <?php $time = DB::table('shift')->where('id', $shift_id)->value('time') ?>
  2515.                                                         <?php $type = DB::table('shift')->where('id', $shift_id)->value('type') ?>
  2516.                                                         <?php $name = DB::table('worker')->where('id', $worker_id)->value('name') ?>
  2517.                                                         @if($type == "Day")
  2518.                                                             <th style="font-size:11px" colspan="1">{{$name}}</th>
  2519.                                                             <th style="font-size:7px" colspan="1">{{$time}}</th>
  2520.                                                             <th style="font-size:11px" colspan="1">{{$zone}}</th>
  2521.                                                             <th colspan="1"></th>
  2522.                                                             <th colspan="1"></th>
  2523.                                                             <th colspan="1"></th>
  2524.                                                             <?php $i++; ?>
  2525.                                                         @endif
  2526.                                                         @if($i % 4 == 0)
  2527.                                                             </tr>
  2528.                                                             <tr>
  2529.                                                         @endif
  2530.                                                     @endforeach
  2531.                                                 </tr>
  2532.  
  2533.                                                 <tr> <!-- ROW 16 -->
  2534.                                                     <th style="text-align: center; font-size: 14px;" colspan="24"></th>
  2535.                                                 </tr>
  2536.  
  2537.                                                 <tr> <!-- ROW 4 -->
  2538.                                                     <th style="text-align: center; font-size: 20px;" colspan="24">SWING SHIFT MOD, Brandon (215pm-830pm)</th>
  2539.                                                 </tr>
  2540.                                                 <tr> <!-- ROW 5 -->
  2541.                                                     <th style="text-align: center; font-size: 16px;" colspan="24">Dispatch: MOD</th>
  2542.                                                 </tr>
  2543.                                                 <tr> <!-- ROW 6 -->
  2544.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  2545.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  2546.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
  2547.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
  2548.  
  2549.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  2550.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  2551.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
  2552.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
  2553.  
  2554.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  2555.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  2556.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
  2557.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
  2558.  
  2559.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  2560.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  2561.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
  2562.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
  2563.                                                 </tr>
  2564.  
  2565.                                                 <tr> <!-- ROW 7 -->
  2566.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
  2567.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
  2568.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
  2569.                                                     <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
  2570.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
  2571.  
  2572.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
  2573.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
  2574.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
  2575.                                                     <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
  2576.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
  2577.  
  2578.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
  2579.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
  2580.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
  2581.                                                     <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
  2582.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
  2583.  
  2584.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
  2585.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
  2586.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
  2587.                                                     <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
  2588.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
  2589.                                                 </tr>
  2590.  
  2591.                                                 <tr> <!-- ROW 8 -->
  2592.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2593.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2594.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2595.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">4pm boxes</th>
  2596.  
  2597.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2598.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2599.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2600.                                                     <th style="text-align: center; font-size: 11px;" colspan="3"></th>
  2601.  
  2602.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2603.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2604.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2605.                                                     <th style="text-align: center; font-size: 11px;" colspan="3"></th>
  2606.  
  2607.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2608.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2609.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2610.                                                     <th style="text-align: center; font-size: 11px;" colspan="2"></th>
  2611.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2612.                                                 </tr>
  2613.  
  2614.                                                 <tr> <!-- ROW 9 -->
  2615.                                                     <th style="text-align: center; font-size: 14px;" colspan="24">Ambassadors</th>
  2616.                                                 </tr>
  2617.  
  2618.                                                 <tr> <!-- ROW 10 -->
  2619.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  2620.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  2621.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
  2622.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
  2623.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
  2624.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
  2625.  
  2626.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  2627.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  2628.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
  2629.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
  2630.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
  2631.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
  2632.  
  2633.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  2634.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  2635.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
  2636.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
  2637.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
  2638.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
  2639.  
  2640.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  2641.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  2642.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
  2643.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
  2644.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
  2645.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
  2646.                                                 </tr>
  2647.  
  2648.                                                 <?php $j = 0; ?>
  2649.  
  2650.                                                 <tr>
  2651.                                                     @foreach($saturdays as $saturday)
  2652.                                                         <?php $shift_worker_id = DB::table('schedule')->where('id', $saturday->id)->value('shift_worker_id') ?>
  2653.                                                         <?php $zone_id = DB::table('schedule')->where('id', $saturday->id)->value('zone_id') ?>
  2654.                                                         <?php $zone = DB::table('zone')->where('id', $zone_id)->value('name') ?>
  2655.                                                         <?php $worker_id = DB::table('shift_worker')->where('id', $shift_worker_id)->value('worker_id') ?>
  2656.                                                         <?php $shift_id = DB::table('shift_worker')->where('id', $shift_worker_id)->value('shift_id') ?>
  2657.                                                         <?php $time = DB::table('shift')->where('id', $shift_id)->value('time') ?>
  2658.                                                         <?php $type = DB::table('shift')->where('id', $shift_id)->value('type') ?>
  2659.                                                         <?php $name = DB::table('worker')->where('id', $worker_id)->value('name') ?>
  2660.                                                         @if($type == "Swing")
  2661.                                                             <th style="font-size:11px" colspan="1">{{$name}}</th>
  2662.                                                             <th style="font-size:7px" colspan="1">{{$time}}</th>
  2663.                                                             <th style="font-size:11px" colspan="1">{{$zone}}</th>
  2664.                                                             <th colspan="1"></th>
  2665.                                                             <th colspan="1"></th>
  2666.                                                             <th colspan="1"></th>
  2667.                                                             <?php $j++; ?>
  2668.                                                         @endif
  2669.                                                         @if($j % 4 == 0)
  2670.                                                             </tr>
  2671.                                                             <tr>
  2672.                                                         @endif
  2673.                                                     @endforeach
  2674.                                                 </tr>
  2675.  
  2676.                                                 <tr> <!-- ROW 16 -->
  2677.                                                     <th style="text-align: center; font-size: 14px;" colspan="24"></th>
  2678.                                                 </tr>
  2679.  
  2680.                                                 <tr> <!-- ROW 4 -->
  2681.                                                     <th style="text-align: center; font-size: 20px;" colspan="24">GRAVEYARD SHIFT MOD, Sara (830pm-615am)</th>
  2682.                                                 </tr>
  2683.                                                 <tr> <!-- ROW 5 -->
  2684.                                                     <th style="text-align: center; font-size: 16px;" colspan="24">Dispatch: MOD</th>
  2685.                                                 </tr>
  2686.                                                 <tr> <!-- ROW 6 -->
  2687.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  2688.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  2689.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
  2690.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
  2691.  
  2692.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  2693.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  2694.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
  2695.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
  2696.  
  2697.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  2698.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  2699.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
  2700.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
  2701.  
  2702.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  2703.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  2704.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
  2705.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
  2706.                                                 </tr>
  2707.  
  2708.                                                 <tr> <!-- ROW 7 -->
  2709.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
  2710.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
  2711.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
  2712.                                                     <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
  2713.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
  2714.  
  2715.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
  2716.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
  2717.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
  2718.                                                     <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
  2719.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
  2720.  
  2721.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
  2722.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
  2723.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
  2724.                                                     <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
  2725.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
  2726.  
  2727.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
  2728.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
  2729.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
  2730.                                                     <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
  2731.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
  2732.                                                 </tr>
  2733.  
  2734.                                                 <tr> <!-- ROW 8 -->
  2735.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2736.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2737.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2738.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">4pm boxes</th>
  2739.  
  2740.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2741.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2742.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2743.                                                     <th style="text-align: center; font-size: 11px;" colspan="3"></th>
  2744.  
  2745.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2746.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2747.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2748.                                                     <th style="text-align: center; font-size: 11px;" colspan="3"></th>
  2749.  
  2750.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2751.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2752.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2753.                                                     <th style="text-align: center; font-size: 11px;" colspan="2"></th>
  2754.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2755.                                                 </tr>
  2756.  
  2757.                                                 <tr> <!-- ROW 9 -->
  2758.                                                     <th style="text-align: center; font-size: 14px;" colspan="24">Ambassadors</th>
  2759.                                                 </tr>
  2760.  
  2761.                                                 <tr> <!-- ROW 10 -->
  2762.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  2763.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  2764.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
  2765.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
  2766.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
  2767.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
  2768.  
  2769.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  2770.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  2771.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
  2772.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
  2773.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
  2774.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
  2775.  
  2776.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  2777.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  2778.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
  2779.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
  2780.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
  2781.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
  2782.  
  2783.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  2784.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  2785.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
  2786.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
  2787.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
  2788.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
  2789.                                                 </tr>
  2790.  
  2791.                                                 <?php $k = 0; ?>
  2792.  
  2793.                                                 <tr>
  2794.                                                     @foreach($saturdays as $saturday)
  2795.                                                         <?php $shift_worker_id = DB::table('schedule')->where('id', $saturday->id)->value('shift_worker_id') ?>
  2796.                                                         <?php $zone_id = DB::table('schedule')->where('id', $saturday->id)->value('zone_id') ?>
  2797.                                                         <?php $zone = DB::table('zone')->where('id', $zone_id)->value('name') ?>
  2798.                                                         <?php $worker_id = DB::table('shift_worker')->where('id', $shift_worker_id)->value('worker_id') ?>
  2799.                                                         <?php $shift_id = DB::table('shift_worker')->where('id', $shift_worker_id)->value('shift_id') ?>
  2800.                                                         <?php $time = DB::table('shift')->where('id', $shift_id)->value('time') ?>
  2801.                                                         <?php $type = DB::table('shift')->where('id', $shift_id)->value('type') ?>
  2802.                                                         <?php $name = DB::table('worker')->where('id', $worker_id)->value('name') ?>
  2803.                                                         @if($type == "Graveyard")
  2804.                                                             <th style="font-size:11px" colspan="1">{{$name}}</th>
  2805.                                                             <th style="font-size:7px" colspan="1">{{$time}}</th>
  2806.                                                             <th style="font-size:11px" colspan="1">{{$zone}}</th>
  2807.                                                             <th colspan="1"></th>
  2808.                                                             <th colspan="1"></th>
  2809.                                                             <th colspan="1"></th>
  2810.                                                             <?php $k++; ?>
  2811.                                                         @endif
  2812.                                                         @if($k % 4 == 0)
  2813.                                                             </tr>
  2814.                                                             <tr>
  2815.                                                         @endif
  2816.                                                     @endforeach
  2817.                                                 </tr>
  2818.  
  2819.                                                 <tr> <!-- ROW 16 -->
  2820.                                                     <th style="text-align: center; font-size: 14px;" colspan="24"></th>
  2821.                                                 </tr>
  2822.                                                 </tbody>
  2823.                                             </table>
  2824.                                         </div>
  2825.                                         <div role="tabpanel" class="tab-pane fade" id="tab_content7" aria-labelledby="profile-tab">
  2826.                                             <table class="table table-bordered" style="table-layout:fixed; width:100%;">
  2827.                                                 <thead>
  2828.                                                 <tr> <!-- ROW 1 -->
  2829.                                                     <th style="text-align: center; font-size: 20px;" colspan="24">Gaming Operations Manager: Tiffany Watler</th>
  2830.                                                 </tr>
  2831.                                                 <tr> <!-- ROW 2 -->
  2832.                                                     <th style="text-align: center; font-size: 20px;" colspan="24">Daily Zone Assignments</th>
  2833.                                                 </tr>
  2834.                                                 <tr> <!-- ROW 3 -->
  2835.                                                     <?php $date = DB::table('schedule')->where('day', 'Sunday')->value('date'); ?>
  2836.                                                     <th style="text-align: center; font-size: 14px;" colspan="24">Sunday Date: {{$date}}</th>
  2837.                                                 </tr>
  2838.                                                 </thead>
  2839.                                                 <tbody>
  2840.                                                 <tr> <!-- ROW 4 -->
  2841.                                                     <th style="text-align: center; font-size: 20px;" colspan="24">DAY SHIFT MOD, Clemson (8am-430pm)</th>
  2842.                                                 </tr>
  2843.                                                 <tr> <!-- ROW 5 -->
  2844.                                                     <th style="text-align: center; font-size: 16px;" colspan="24">Dispatch: MOD</th>
  2845.                                                 </tr>
  2846.                                                 <tr> <!-- ROW 6 -->
  2847.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  2848.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  2849.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
  2850.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
  2851.  
  2852.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  2853.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  2854.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
  2855.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
  2856.  
  2857.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  2858.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  2859.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
  2860.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
  2861.  
  2862.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  2863.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  2864.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
  2865.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
  2866.                                                 </tr>
  2867.  
  2868.                                                 <tr> <!-- ROW 7 -->
  2869.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
  2870.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
  2871.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
  2872.                                                     <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
  2873.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
  2874.  
  2875.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
  2876.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
  2877.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
  2878.                                                     <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
  2879.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
  2880.  
  2881.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
  2882.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
  2883.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
  2884.                                                     <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
  2885.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
  2886.  
  2887.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
  2888.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
  2889.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
  2890.                                                     <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
  2891.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
  2892.                                                 </tr>
  2893.  
  2894.                                                 <tr> <!-- ROW 8 -->
  2895.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2896.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2897.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2898.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">4pm boxes</th>
  2899.  
  2900.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2901.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2902.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2903.                                                     <th style="text-align: center; font-size: 11px;" colspan="3"></th>
  2904.  
  2905.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2906.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2907.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2908.                                                     <th style="text-align: center; font-size: 11px;" colspan="3"></th>
  2909.  
  2910.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2911.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2912.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2913.                                                     <th style="text-align: center; font-size: 11px;" colspan="2"></th>
  2914.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  2915.                                                 </tr>
  2916.  
  2917.                                                 <tr> <!-- ROW 9 -->
  2918.                                                     <th style="text-align: center; font-size: 14px;" colspan="24">Ambassadors</th>
  2919.                                                 </tr>
  2920.  
  2921.                                                 <tr> <!-- ROW 10 -->
  2922.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  2923.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  2924.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
  2925.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
  2926.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
  2927.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
  2928.  
  2929.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  2930.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  2931.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
  2932.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
  2933.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
  2934.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
  2935.  
  2936.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  2937.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  2938.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
  2939.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
  2940.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
  2941.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
  2942.  
  2943.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  2944.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  2945.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
  2946.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
  2947.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
  2948.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
  2949.                                                 </tr>
  2950.  
  2951.                                                 <?php $i = 0; ?>
  2952.  
  2953.                                                 <tr>
  2954.                                                     @foreach($sundays as $sunday)
  2955.                                                         <?php $shift_worker_id = DB::table('schedule')->where('id', $sunday->id)->value('shift_worker_id') ?>
  2956.                                                         <?php $zone_id = DB::table('schedule')->where('id', $sunday->id)->value('zone_id') ?>
  2957.                                                         <?php $zone = DB::table('zone')->where('id', $zone_id)->value('name') ?>
  2958.                                                         <?php $worker_id = DB::table('shift_worker')->where('id', $shift_worker_id)->value('worker_id') ?>
  2959.                                                         <?php $shift_id = DB::table('shift_worker')->where('id', $shift_worker_id)->value('shift_id') ?>
  2960.                                                         <?php $time = DB::table('shift')->where('id', $shift_id)->value('time') ?>
  2961.                                                         <?php $type = DB::table('shift')->where('id', $shift_id)->value('type') ?>
  2962.                                                         <?php $name = DB::table('worker')->where('id', $worker_id)->value('name') ?>
  2963.                                                         @if($type == "Day")
  2964.                                                             <th style="font-size:11px" colspan="1">{{$name}}</th>
  2965.                                                             <th style="font-size:7px" colspan="1">{{$time}}</th>
  2966.                                                             <th style="font-size:11px" colspan="1">{{$zone}}</th>
  2967.                                                             <th colspan="1"></th>
  2968.                                                             <th colspan="1"></th>
  2969.                                                             <th colspan="1"></th>
  2970.                                                             <?php $i++; ?>
  2971.                                                         @endif
  2972.                                                         @if($i % 4 == 0)
  2973.                                                             </tr>
  2974.                                                             <tr>
  2975.                                                         @endif
  2976.                                                     @endforeach
  2977.                                                 </tr>
  2978.  
  2979.                                                 <tr> <!-- ROW 16 -->
  2980.                                                     <th style="text-align: center; font-size: 14px;" colspan="24"></th>
  2981.                                                 </tr>
  2982.  
  2983.                                                 <tr> <!-- ROW 4 -->
  2984.                                                     <th style="text-align: center; font-size: 20px;" colspan="24">SWING SHIFT MOD, Brandon (215pm-830pm)</th>
  2985.                                                 </tr>
  2986.                                                 <tr> <!-- ROW 5 -->
  2987.                                                     <th style="text-align: center; font-size: 16px;" colspan="24">Dispatch: MOD</th>
  2988.                                                 </tr>
  2989.                                                 <tr> <!-- ROW 6 -->
  2990.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  2991.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  2992.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
  2993.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
  2994.  
  2995.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  2996.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  2997.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
  2998.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
  2999.  
  3000.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  3001.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  3002.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
  3003.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
  3004.  
  3005.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  3006.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  3007.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
  3008.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
  3009.                                                 </tr>
  3010.  
  3011.                                                 <tr> <!-- ROW 7 -->
  3012.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
  3013.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
  3014.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
  3015.                                                     <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
  3016.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
  3017.  
  3018.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
  3019.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
  3020.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
  3021.                                                     <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
  3022.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
  3023.  
  3024.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
  3025.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
  3026.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
  3027.                                                     <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
  3028.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
  3029.  
  3030.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
  3031.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
  3032.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
  3033.                                                     <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
  3034.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
  3035.                                                 </tr>
  3036.  
  3037.                                                 <tr> <!-- ROW 8 -->
  3038.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  3039.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  3040.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  3041.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">4pm boxes</th>
  3042.  
  3043.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  3044.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  3045.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  3046.                                                     <th style="text-align: center; font-size: 11px;" colspan="3"></th>
  3047.  
  3048.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  3049.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  3050.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  3051.                                                     <th style="text-align: center; font-size: 11px;" colspan="3"></th>
  3052.  
  3053.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  3054.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  3055.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  3056.                                                     <th style="text-align: center; font-size: 11px;" colspan="2"></th>
  3057.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  3058.                                                 </tr>
  3059.  
  3060.                                                 <tr> <!-- ROW 9 -->
  3061.                                                     <th style="text-align: center; font-size: 14px;" colspan="24">Ambassadors</th>
  3062.                                                 </tr>
  3063.  
  3064.                                                 <tr> <!-- ROW 10 -->
  3065.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  3066.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  3067.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
  3068.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
  3069.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
  3070.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
  3071.  
  3072.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  3073.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  3074.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
  3075.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
  3076.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
  3077.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
  3078.  
  3079.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  3080.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  3081.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
  3082.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
  3083.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
  3084.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
  3085.  
  3086.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  3087.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  3088.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
  3089.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
  3090.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
  3091.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
  3092.                                                 </tr>
  3093.  
  3094.                                                 <?php $j = 0; ?>
  3095.  
  3096.                                                 <tr>
  3097.                                                     @foreach($sundays as $sunday)
  3098.                                                         <?php $shift_worker_id = DB::table('schedule')->where('id', $sunday->id)->value('shift_worker_id') ?>
  3099.                                                         <?php $zone_id = DB::table('schedule')->where('id', $sunday->id)->value('zone_id') ?>
  3100.                                                         <?php $zone = DB::table('zone')->where('id', $zone_id)->value('name') ?>
  3101.                                                         <?php $worker_id = DB::table('shift_worker')->where('id', $shift_worker_id)->value('worker_id') ?>
  3102.                                                         <?php $shift_id = DB::table('shift_worker')->where('id', $shift_worker_id)->value('shift_id') ?>
  3103.                                                         <?php $time = DB::table('shift')->where('id', $shift_id)->value('time') ?>
  3104.                                                         <?php $type = DB::table('shift')->where('id', $shift_id)->value('type') ?>
  3105.                                                         <?php $name = DB::table('worker')->where('id', $worker_id)->value('name') ?>
  3106.                                                         @if($type == "Swing")
  3107.                                                             <th style="font-size:11px" colspan="1">{{$name}}</th>
  3108.                                                             <th style="font-size:7px" colspan="1">{{$time}}</th>
  3109.                                                             <th style="font-size:11px" colspan="1">{{$zone}}</th>
  3110.                                                             <th colspan="1"></th>
  3111.                                                             <th colspan="1"></th>
  3112.                                                             <th colspan="1"></th>
  3113.                                                             <?php $j++; ?>
  3114.                                                         @endif
  3115.                                                         @if($j % 4 == 0)
  3116.                                                             </tr>
  3117.                                                             <tr>
  3118.                                                         @endif
  3119.                                                     @endforeach
  3120.                                                 </tr>
  3121.  
  3122.                                                 <tr> <!-- ROW 16 -->
  3123.                                                     <th style="text-align: center; font-size: 14px;" colspan="24"></th>
  3124.                                                 </tr>
  3125.  
  3126.                                                 <tr> <!-- ROW 4 -->
  3127.                                                     <th style="text-align: center; font-size: 20px;" colspan="24">GRAVEYARD SHIFT MOD, Sara (830pm-615am)</th>
  3128.                                                 </tr>
  3129.                                                 <tr> <!-- ROW 5 -->
  3130.                                                     <th style="text-align: center; font-size: 16px;" colspan="24">Dispatch: MOD</th>
  3131.                                                 </tr>
  3132.                                                 <tr> <!-- ROW 6 -->
  3133.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  3134.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  3135.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
  3136.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
  3137.  
  3138.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  3139.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  3140.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
  3141.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
  3142.  
  3143.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  3144.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  3145.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
  3146.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
  3147.  
  3148.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  3149.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  3150.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
  3151.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
  3152.                                                 </tr>
  3153.  
  3154.                                                 <tr> <!-- ROW 7 -->
  3155.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
  3156.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
  3157.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
  3158.                                                     <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
  3159.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
  3160.  
  3161.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
  3162.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
  3163.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
  3164.                                                     <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
  3165.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
  3166.  
  3167.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
  3168.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
  3169.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
  3170.                                                     <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
  3171.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
  3172.  
  3173.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
  3174.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
  3175.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
  3176.                                                     <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
  3177.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
  3178.                                                 </tr>
  3179.  
  3180.                                                 <tr> <!-- ROW 8 -->
  3181.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  3182.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  3183.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  3184.                                                     <th style="text-align: center; font-size: 11px;" colspan="3">4pm boxes</th>
  3185.  
  3186.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  3187.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  3188.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  3189.                                                     <th style="text-align: center; font-size: 11px;" colspan="3"></th>
  3190.  
  3191.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  3192.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  3193.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  3194.                                                     <th style="text-align: center; font-size: 11px;" colspan="3"></th>
  3195.  
  3196.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  3197.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  3198.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  3199.                                                     <th style="text-align: center; font-size: 11px;" colspan="2"></th>
  3200.                                                     <th style="text-align: center; font-size: 11px;" colspan="1"></th>
  3201.                                                 </tr>
  3202.  
  3203.                                                 <tr> <!-- ROW 9 -->
  3204.                                                     <th style="text-align: center; font-size: 14px;" colspan="24">Ambassadors</th>
  3205.                                                 </tr>
  3206.  
  3207.                                                 <tr> <!-- ROW 10 -->
  3208.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  3209.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  3210.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
  3211.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
  3212.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
  3213.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
  3214.  
  3215.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  3216.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  3217.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
  3218.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
  3219.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
  3220.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
  3221.  
  3222.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  3223.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  3224.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
  3225.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
  3226.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
  3227.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
  3228.  
  3229.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
  3230.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
  3231.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
  3232.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
  3233.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
  3234.                                                     <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
  3235.                                                 </tr>
  3236.  
  3237.                                                 <?php $k = 0; ?>
  3238.  
  3239.                                                 <tr>
  3240.                                                     @foreach($sundays as $sunday)
  3241.                                                         <?php $shift_worker_id = DB::table('schedule')->where('id', $sunday->id)->value('shift_worker_id') ?>
  3242.                                                         <?php $zone_id = DB::table('schedule')->where('id', $sunday->id)->value('zone_id') ?>
  3243.                                                         <?php $zone = DB::table('zone')->where('id', $zone_id)->value('name') ?>
  3244.                                                         <?php $worker_id = DB::table('shift_worker')->where('id', $shift_worker_id)->value('worker_id') ?>
  3245.                                                         <?php $shift_id = DB::table('shift_worker')->where('id', $shift_worker_id)->value('shift_id') ?>
  3246.                                                         <?php $time = DB::table('shift')->where('id', $shift_id)->value('time') ?>
  3247.                                                         <?php $type = DB::table('shift')->where('id', $shift_id)->value('type') ?>
  3248.                                                         <?php $name = DB::table('worker')->where('id', $worker_id)->value('name') ?>
  3249.                                                         @if($type == "Graveyard")
  3250.                                                             <th style="font-size:11px" colspan="1">{{$name}}</th>
  3251.                                                             <th style="font-size:7px" colspan="1">{{$time}}</th>
  3252.                                                             <th style="font-size:11px" colspan="1">{{$zone}}</th>
  3253.                                                             <th colspan="1"></th>
  3254.                                                             <th colspan="1"></th>
  3255.                                                             <th colspan="1"></th>
  3256.                                                             <?php $k++; ?>
  3257.                                                         @endif
  3258.                                                         @if($k % 4 == 0)
  3259.                                                             </tr>
  3260.                                                             <tr>
  3261.                                                         @endif
  3262.                                                     @endforeach
  3263.                                                 </tr>
  3264.  
  3265.                                                 <tr> <!-- ROW 16 -->
  3266.                                                     <th style="text-align: center; font-size: 14px;" colspan="24"></th>
  3267.                                                 </tr>
  3268.                                                 </tbody>
  3269.                                             </table>
  3270.                                         </div>
  3271.                                     </div>
  3272.                                 </div>
  3273.                             </div>
  3274.                         </div>
  3275.                         <div align="right">
  3276.                             <a href="/generate"><button type="button" class="btn btn-primary">Generate</button></a>
  3277.                             <button type="button" class="btn btn-primary"><i class="fa fa-envelope-o" aria-hidden="true"></i> Email</button>
  3278.                             <a href="/monday"><button type="button" class="btn btn-success"><i class="fa fa-arrow-down" aria-hidden="true"></i> Download</button></a>
  3279.                         </div>
  3280.                     </div>
  3281.                 </div>
  3282.             </div>
  3283.             <div class="clearfix"></div>
  3284.             <br>
  3285.         </div>
  3286.         <!-- /page content -->
  3287.  
  3288.         <!-- footer content -->
  3289.         <footer>
  3290.             <div class="pull-right">
  3291.                
  3292.             </div>
  3293.             <div class="clearfix"></div>
  3294.         </footer>
  3295.         <!-- /footer content -->
  3296.     </div>
  3297. </div>
  3298.  
  3299. <div id="custom_notifications" class="custom-notifications dsp_none">
  3300.     <ul class="list-unstyled notifications clearfix" data-tabbed_notifications="notif-group">
  3301.     </ul>
  3302.     <div class="clearfix"></div>
  3303.     <div id="notif-group" class="tabbed_notifications"></div>
  3304. </div>
  3305.  
  3306. <!-- jQuery -->
  3307. <script src="../vendors/jquery/dist/jquery.min.js"></script>
  3308. <!-- Bootstrap -->
  3309. <script src="../vendors/bootstrap/dist/js/bootstrap.min.js"></script>
  3310. <!-- FastClick -->
  3311. <script src="../vendors/fastclick/lib/fastclick.js"></script>
  3312. <!-- NProgress -->
  3313. <script src="../vendors/nprogress/nprogress.js"></script>
  3314. <!-- bootstrap-progressbar -->
  3315. <script src="../vendors/bootstrap-progressbar/bootstrap-progressbar.min.js"></script>
  3316. <!-- iCheck -->
  3317. <script src="../vendors/iCheck/icheck.min.js"></script>
  3318. <!-- PNotify -->
  3319. <script src="../vendors/pnotify/dist/pnotify.js"></script>
  3320. <script src="../vendors/pnotify/dist/pnotify.buttons.js"></script>
  3321. <script src="../vendors/pnotify/dist/pnotify.nonblock.js"></script>
  3322.  
  3323. <!-- Custom Theme Scripts -->
  3324. <script src="../build/js/custom.min.js"></script>
  3325.  
  3326. <!-- Custom Notification -->
  3327. <script>
  3328.     $(document).ready(function() {
  3329.         var cnt = 10;
  3330.  
  3331.         TabbedNotification = function(options) {
  3332.             var message = "<div id='ntf" + cnt + "' class='text alert-" + options.type + "' style='display:none'><h2><i class='fa fa-bell'></i> " + options.title +
  3333.                 "</h2><div class='close'><a href='javascript:;' class='notification_close'><i class='fa fa-close'></i></a></div><p>" + options.text + "</p></div>";
  3334.  
  3335.             if (!document.getElementById('custom_notifications')) {
  3336.                 alert('doesnt exists');
  3337.             } else {
  3338.                 $('#custom_notifications ul.notifications').append("<li><a id='ntlink" + cnt + "' class='alert-" + options.type + "' href='#ntf" + cnt + "'><i class='fa fa-bell animated shake'></i></a></li>");
  3339.                 $('#custom_notifications #notif-group').append(message);
  3340.                 cnt++;
  3341.                 CustomTabs(options);
  3342.             }
  3343.         };
  3344.  
  3345.         CustomTabs = function(options) {
  3346.             $('.tabbed_notifications > div').hide();
  3347.             $('.tabbed_notifications > div:first-of-type').show();
  3348.             $('#custom_notifications').removeClass('dsp_none');
  3349.             $('.notifications a').click(function(e) {
  3350.                 e.preventDefault();
  3351.                 var $this = $(this),
  3352.                     tabbed_notifications = '#' + $this.parents('.notifications').data('tabbed_notifications'),
  3353.                     others = $this.closest('li').siblings().children('a'),
  3354.                     target = $this.attr('href');
  3355.                 others.removeClass('active');
  3356.                 $this.addClass('active');
  3357.                 $(tabbed_notifications).children('div').hide();
  3358.                 $(target).show();
  3359.             });
  3360.         };
  3361.        
  3362.         $(document).on('click', 'home-tab', function(){
  3363.             location.href = 'www.159.203.91.131/monday';
  3364.         });
  3365.  
  3366.         CustomTabs();
  3367.  
  3368.         var tabid = idname = '';
  3369.  
  3370.         $(document).on('click', '.notification_close', function(e) {
  3371.             idname = $(this).parent().parent().attr("id");
  3372.             tabid = idname.substr(-2);
  3373.             $('#ntf' + tabid).remove();
  3374.             $('#ntlink' + tabid).parent().remove();
  3375.             $('.notifications a').first().addClass('active');
  3376.             $('#notif-group div').first().css('display', 'block');
  3377.         });
  3378.     });
  3379. </script>
  3380. <!-- /Custom Notification -->
  3381. </body>
  3382. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement