Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $schedules = \App\Schedule::all();
- $mondays = [];
- $tuesdays = [];
- $wednesdays = [];
- $thursdays = [];
- $fridays = [];
- $saturdays = [];
- $sundays = [];
- foreach($schedules as $schedule){
- $date = DB::table('schedule')->where('id', $schedule->id)->value('date');
- $day = date('l', strtotime($date));
- if($day == "Monday")
- array_push($mondays, $schedule);
- if($day == "Tuesday")
- array_push($tuesdays, $schedule);
- if($day == "Wednesday")
- array_push($wednesdays, $schedule);
- if($day == "Thursday")
- array_push($thursdays, $schedule);
- if($day == "Friday")
- array_push($fridays, $schedule);
- if($day == "Saturday")
- array_push($saturdays, $schedule);
- if($day == "Sunday")
- array_push($sundays, $schedule);
- }
- ?>
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <!-- Meta, title, CSS, favicons, etc. -->
- <meta charset="utf-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <title>Evergreen</title>
- <!-- Bootstrap -->
- <link href="../vendors/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
- <!-- Font Awesome -->
- <link href="../vendors/font-awesome/css/font-awesome.min.css" rel="stylesheet">
- <!-- iCheck -->
- <link href="../vendors/iCheck/skins/flat/green.css" rel="stylesheet">
- <!-- bootstrap-progressbar -->
- <link href="../vendors/bootstrap-progressbar/css/bootstrap-progressbar-3.3.4.min.css" rel="stylesheet">
- <!-- PNotify -->
- <link href="../vendors/pnotify/dist/pnotify.css" rel="stylesheet">
- <link href="../vendors/pnotify/dist/pnotify.buttons.css" rel="stylesheet">
- <link href="../vendors/pnotify/dist/pnotify.nonblock.css" rel="stylesheet">
- <!-- Custom Theme Style -->
- <link href="../build/css/custom.min.css" rel="stylesheet">
- </head>
- <body class="nav-md">
- <div class="container body">
- <div class="main_container">
- <div class="col-md-3 left_col">
- <div class="left_col scroll-view">
- <div class="navbar nav_title" style="border: 0;">
- <a href="/" class="site_title"><i class="fa fa-globe"></i> <span>E.E. Schedule</span></a>
- </div>
- <div class="clearfix"></div>
- <!-- sidebar menu -->
- <div id="sidebar-menu" class="main_menu_side hidden-print main_menu">
- <div class="menu_section">
- <ul class="nav side-menu">
- <li><a href="/"><i class="fa fa-home"></i> Home</a>
- </li>
- <li><a><i class="fa fa-edit"></i> Forms <span class="fa fa-chevron-down"></span></a>
- <ul class="nav child_menu">
- <li><a href="/add_form">Add Employee</a></li>
- <li><a href="/edit_form">Edit Employee</a></li>
- <li><a href="/delete_form">Delete Employee</a></li>
- </ul>
- </li>
- <li><a><i class="fa fa-table"></i> Tables <span class="fa fa-chevron-down"></span></a>
- <ul class="nav child_menu">
- <li><a href="/time_table">Employee's Availability</a></li>
- <li><a href="/zone_table">Employee's Zone for the Week</a></li>
- </ul>
- </li>
- </ul>
- </div>
- </div>
- <!-- /sidebar menu -->
- </div>
- </div>
- <!-- top navigation -->
- <div class="top_nav">
- <div class="nav_menu">
- <nav class="" role="navigation">
- <div class="nav toggle">
- <a id="menu_toggle"><i class="fa fa-bars"></i></a>
- </div>
- <ul class="nav navbar-nav navbar-right">
- <li role="presentation" class="dropdown">
- <a href="" class="dropdown-toggle info-number" data-toggle="dropdown" aria-expanded="false" style="pointer-events:none; cursor: default">
- <i style="color:transparent" class="fa fa-envelope-o"></i>
- </a>
- </li>
- </ul>
- </nav>
- </div>
- </div>
- <!-- /top navigation -->
- <!-- page content -->
- <div class="right_col" role="main">
- <div class="">
- <div class="clearfix"></div>
- <div class="">
- <div class="col-md-18 col-sm-18 col-xs-18">
- <div class="x_panel">
- <div class="x_title">
- <h2><i class="fa fa-calendar"></i> Schedule </h2>
- <div class="clearfix"></div>
- </div>
- <div class="x_content">
- <div class="" role="tabpanel" data-example-id="togglable-tabs">
- <ul id="myTab" class="nav nav-tabs bar_tabs" role="tablist">
- <li role="presentation" class="active"><a href="#tab_content1" id="home-tab" role="tab" data-toggle="tab" aria-expanded="true">Monday</a>
- </li>
- <li role="presentation" class=""><a href="#tab_content2" role="tab" id="profile-tab" data-toggle="tab" aria-expanded="false">Tuesday</a>
- </li>
- <li role="presentation" class=""><a href="#tab_content3" role="tab" id="profile-tab2" data-toggle="tab" aria-expanded="false">Wednesday</a>
- </li>
- <li role="presentation" class=""><a href="#tab_content4" role="tab" id="profile-tab3" data-toggle="tab" aria-expanded="false">Thursday</a>
- </li>
- <li role="presentation" class=""><a href="#tab_content5" role="tab" id="profile-tab3" data-toggle="tab" aria-expanded="false">Friday</a>
- </li>
- <li role="presentation" class=""><a href="#tab_content6" role="tab" id="profile-tab3" data-toggle="tab" aria-expanded="false">Saturday</a>
- </li>
- <li role="presentation" class=""><a href="#tab_content7" role="tab" id="profile-tab3" data-toggle="tab" aria-expanded="false">Sunday</a>
- </li>
- </ul>
- <div id="myTabContent" class="tab-content">
- <div role="tabpanel" class="tab-pane fade" id="tab_content1" aria-labelledby="profile-tab">
- <table class="table table-bordered" style="table-layout:fixed; width:100%;">
- <thead>
- <tr> <!-- ROW 1 -->
- <th style="text-align: center; font-size: 20px;" colspan="24">Gaming Operations Manager: Tiffany Watler</th>
- </tr>
- <tr> <!-- ROW 2 -->
- <th style="text-align: center; font-size: 20px;" colspan="24">Daily Zone Assignments</th>
- </tr>
- <tr> <!-- ROW 3 -->
- <?php $date = DB::table('schedule')->where('day', 'Monday')->value('date'); ?>
- <th style="text-align: center; font-size: 14px;" colspan="24">Monday Date: {{$date}}</th>
- </tr>
- </thead>
- <tbody>
- <tr> <!-- ROW 4 -->
- <th style="text-align: center; font-size: 20px;" colspan="24">DAY SHIFT MOD, Clemson (8am-430pm)</th>
- </tr>
- <tr> <!-- ROW 5 -->
- <th style="text-align: center; font-size: 16px;" colspan="24">Dispatch: MOD</th>
- </tr>
- <tr> <!-- ROW 6 -->
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
- <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
- <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
- <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
- <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
- </tr>
- <tr> <!-- ROW 7 -->
- <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
- <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
- <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
- <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
- <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
- </tr>
- <tr> <!-- ROW 8 -->
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="3">4pm boxes</th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="3"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="3"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="2"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- </tr>
- <tr> <!-- ROW 9 -->
- <th style="text-align: center; font-size: 14px;" colspan="24">Ambassadors</th>
- </tr>
- <tr> <!-- ROW 10 -->
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
- </tr>
- <?php $i = 0; ?>
- <tr>
- @foreach($mondays as $monday)
- <?php $shift_worker_id = DB::table('schedule')->where('id', $monday->id)->value('shift_worker_id') ?>
- <?php $zone_id = DB::table('schedule')->where('id', $monday->id)->value('zone_id') ?>
- <?php $zone = DB::table('zone')->where('id', $zone_id)->value('name') ?>
- <?php $worker_id = DB::table('shift_worker')->where('id', $shift_worker_id)->value('worker_id') ?>
- <?php $shift_id = DB::table('shift_worker')->where('id', $shift_worker_id)->value('shift_id') ?>
- <?php $time = DB::table('shift')->where('id', $shift_id)->value('time') ?>
- <?php $type = DB::table('shift')->where('id', $shift_id)->value('type') ?>
- <?php $name = DB::table('worker')->where('id', $worker_id)->value('name') ?>
- @if($type == "Day")
- <th style="font-size:11px" colspan="1">{{$name}}</th>
- <th style="font-size:7px" colspan="1">{{$time}}</th>
- <th style="font-size:11px" colspan="1">{{$zone}}</th>
- <th colspan="1"></th>
- <th colspan="1"></th>
- <th colspan="1"></th>
- <?php $i++; ?>
- @endif
- @if($i % 4 == 0)
- </tr>
- <tr>
- @endif
- @endforeach
- </tr>
- <tr> <!-- ROW 16 -->
- <th style="text-align: center; font-size: 14px;" colspan="24"></th>
- </tr>
- <tr> <!-- ROW 4 -->
- <th style="text-align: center; font-size: 20px;" colspan="24">SWING SHIFT MOD, Brandon (215pm-830pm)</th>
- </tr>
- <tr> <!-- ROW 5 -->
- <th style="text-align: center; font-size: 16px;" colspan="24">Dispatch: MOD</th>
- </tr>
- <tr> <!-- ROW 6 -->
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
- <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
- <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
- <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
- <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
- </tr>
- <tr> <!-- ROW 7 -->
- <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
- <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
- <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
- <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
- <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
- </tr>
- <tr> <!-- ROW 8 -->
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="3">4pm boxes</th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="3"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="3"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="2"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- </tr>
- <tr> <!-- ROW 9 -->
- <th style="text-align: center; font-size: 14px;" colspan="24">Ambassadors</th>
- </tr>
- <tr> <!-- ROW 10 -->
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
- </tr>
- <?php $j = 0; ?>
- <tr>
- @foreach($mondays as $monday)
- <?php $shift_worker_id = DB::table('schedule')->where('id', $monday->id)->value('shift_worker_id') ?>
- <?php $zone_id = DB::table('schedule')->where('id', $monday->id)->value('zone_id') ?>
- <?php $zone = DB::table('zone')->where('id', $zone_id)->value('name') ?>
- <?php $worker_id = DB::table('shift_worker')->where('id', $shift_worker_id)->value('worker_id') ?>
- <?php $shift_id = DB::table('shift_worker')->where('id', $shift_worker_id)->value('shift_id') ?>
- <?php $time = DB::table('shift')->where('id', $shift_id)->value('time') ?>
- <?php $type = DB::table('shift')->where('id', $shift_id)->value('type') ?>
- <?php $name = DB::table('worker')->where('id', $worker_id)->value('name') ?>
- @if($type == "Swing")
- <th style="font-size:11px" colspan="1">{{$name}}</th>
- <th style="font-size:7px" colspan="1">{{$time}}</th>
- <th style="font-size:11px" colspan="1">{{$zone}}</th>
- <th colspan="1"></th>
- <th colspan="1"></th>
- <th colspan="1"></th>
- <?php $j++; ?>
- @endif
- @if($j % 4 == 0)
- </tr>
- <tr>
- @endif
- @endforeach
- </tr>
- <tr> <!-- ROW 16 -->
- <th style="text-align: center; font-size: 14px;" colspan="24"></th>
- </tr>
- <tr> <!-- ROW 4 -->
- <th style="text-align: center; font-size: 20px;" colspan="24">GRAVEYARD SHIFT MOD, Sara (830pm-615am)</th>
- </tr>
- <tr> <!-- ROW 5 -->
- <th style="text-align: center; font-size: 16px;" colspan="24">Dispatch: MOD</th>
- </tr>
- <tr> <!-- ROW 6 -->
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
- <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
- <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
- <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
- <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
- </tr>
- <tr> <!-- ROW 7 -->
- <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
- <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
- <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
- <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
- <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
- </tr>
- <tr> <!-- ROW 8 -->
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="3">4pm boxes</th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="3"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="3"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="2"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- </tr>
- <tr> <!-- ROW 9 -->
- <th style="text-align: center; font-size: 14px;" colspan="24">Ambassadors</th>
- </tr>
- <tr> <!-- ROW 10 -->
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
- </tr>
- <?php $k = 0; ?>
- <tr>
- @foreach($mondays as $monday)
- <?php $shift_worker_id = DB::table('schedule')->where('id', $monday->id)->value('shift_worker_id') ?>
- <?php $zone_id = DB::table('schedule')->where('id', $monday->id)->value('zone_id') ?>
- <?php $zone = DB::table('zone')->where('id', $zone_id)->value('name') ?>
- <?php $worker_id = DB::table('shift_worker')->where('id', $shift_worker_id)->value('worker_id') ?>
- <?php $shift_id = DB::table('shift_worker')->where('id', $shift_worker_id)->value('shift_id') ?>
- <?php $time = DB::table('shift')->where('id', $shift_id)->value('time') ?>
- <?php $type = DB::table('shift')->where('id', $shift_id)->value('type') ?>
- <?php $name = DB::table('worker')->where('id', $worker_id)->value('name') ?>
- @if($type == "Graveyard")
- <th style="font-size:11px" colspan="1">{{$name}}</th>
- <th style="font-size:7px" colspan="1">{{$time}}</th>
- <th style="font-size:11px" colspan="1">{{$zone}}</th>
- <th colspan="1"></th>
- <th colspan="1"></th>
- <th colspan="1"></th>
- <?php $k++; ?>
- @endif
- @if($k % 4 == 0)
- </tr>
- <tr>
- @endif
- @endforeach
- </tr>
- <tr> <!-- ROW 16 -->
- <th style="text-align: center; font-size: 14px;" colspan="24"></th>
- </tr>
- </tbody>
- </table>
- </div>
- <div role="tabpanel" class="tab-pane fade" id="tab_content2" aria-labelledby="profile-tab">
- <table class="table table-bordered" style="table-layout:fixed; width:100%;">
- <thead>
- <tr> <!-- ROW 1 -->
- <th style="text-align: center; font-size: 20px;" colspan="24">Gaming Operations Manager: Tiffany Watler</th>
- </tr>
- <tr> <!-- ROW 2 -->
- <th style="text-align: center; font-size: 20px;" colspan="24">Daily Zone Assignments</th>
- </tr>
- <tr> <!-- ROW 3 -->
- <?php $date = DB::table('schedule')->where('day', 'Tuesday')->value('date'); ?>
- <th style="text-align: center; font-size: 14px;" colspan="24">Tuesday Date: {{$date}}</th>
- </tr>
- </thead>
- <tbody>
- <tr> <!-- ROW 4 -->
- <th style="text-align: center; font-size: 20px;" colspan="24">DAY SHIFT MOD, Clemson (8am-430pm)</th>
- </tr>
- <tr> <!-- ROW 5 -->
- <th style="text-align: center; font-size: 16px;" colspan="24">Dispatch: MOD</th>
- </tr>
- <tr> <!-- ROW 6 -->
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
- <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
- <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
- <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
- <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
- </tr>
- <tr> <!-- ROW 7 -->
- <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
- <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
- <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
- <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
- <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
- </tr>
- <tr> <!-- ROW 8 -->
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="3">4pm boxes</th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="3"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="3"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="2"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- </tr>
- <tr> <!-- ROW 9 -->
- <th style="text-align: center; font-size: 14px;" colspan="24">Ambassadors</th>
- </tr>
- <tr> <!-- ROW 10 -->
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
- </tr>
- <?php $i = 0; ?>
- <tr>
- @foreach($tuesdays as $tuesday)
- <?php $shift_worker_id = DB::table('schedule')->where('id', $tuesday->id)->value('shift_worker_id') ?>
- <?php $zone_id = DB::table('schedule')->where('id', $tuesday->id)->value('zone_id') ?>
- <?php $zone = DB::table('zone')->where('id', $zone_id)->value('name') ?>
- <?php $worker_id = DB::table('shift_worker')->where('id', $shift_worker_id)->value('worker_id') ?>
- <?php $shift_id = DB::table('shift_worker')->where('id', $shift_worker_id)->value('shift_id') ?>
- <?php $time = DB::table('shift')->where('id', $shift_id)->value('time') ?>
- <?php $type = DB::table('shift')->where('id', $shift_id)->value('type') ?>
- <?php $name = DB::table('worker')->where('id', $worker_id)->value('name') ?>
- @if($type == "Day")
- <th style="font-size:11px" colspan="1">{{$name}}</th>
- <th style="font-size:7px" colspan="1">{{$time}}</th>
- <th style="font-size:11px" colspan="1">{{$zone}}</th>
- <th colspan="1"></th>
- <th colspan="1"></th>
- <th colspan="1"></th>
- <?php $i++; ?>
- @endif
- @if($i % 4 == 0)
- </tr>
- <tr>
- @endif
- @endforeach
- </tr>
- <tr> <!-- ROW 16 -->
- <th style="text-align: center; font-size: 14px;" colspan="24"></th>
- </tr>
- <tr> <!-- ROW 4 -->
- <th style="text-align: center; font-size: 20px;" colspan="24">SWING SHIFT MOD, Brandon (215pm-830pm)</th>
- </tr>
- <tr> <!-- ROW 5 -->
- <th style="text-align: center; font-size: 16px;" colspan="24">Dispatch: MOD</th>
- </tr>
- <tr> <!-- ROW 6 -->
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
- <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
- <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
- <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
- <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
- </tr>
- <tr> <!-- ROW 7 -->
- <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
- <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
- <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
- <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
- <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
- </tr>
- <tr> <!-- ROW 8 -->
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="3">4pm boxes</th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="3"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="3"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="2"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- </tr>
- <tr> <!-- ROW 9 -->
- <th style="text-align: center; font-size: 14px;" colspan="24">Ambassadors</th>
- </tr>
- <tr> <!-- ROW 10 -->
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
- </tr>
- <?php $j = 0; ?>
- <tr>
- @foreach($tuesdays as $tuesday)
- <?php $shift_worker_id = DB::table('schedule')->where('id', $tuesday->id)->value('shift_worker_id') ?>
- <?php $zone_id = DB::table('schedule')->where('id', $tuesday->id)->value('zone_id') ?>
- <?php $zone = DB::table('zone')->where('id', $zone_id)->value('name') ?>
- <?php $worker_id = DB::table('shift_worker')->where('id', $shift_worker_id)->value('worker_id') ?>
- <?php $shift_id = DB::table('shift_worker')->where('id', $shift_worker_id)->value('shift_id') ?>
- <?php $time = DB::table('shift')->where('id', $shift_id)->value('time') ?>
- <?php $type = DB::table('shift')->where('id', $shift_id)->value('type') ?>
- <?php $name = DB::table('worker')->where('id', $worker_id)->value('name') ?>
- @if($type == "Swing")
- <th style="font-size:11px" colspan="1">{{$name}}</th>
- <th style="font-size:7px" colspan="1">{{$time}}</th>
- <th style="font-size:11px" colspan="1">{{$zone}}</th>
- <th colspan="1"></th>
- <th colspan="1"></th>
- <th colspan="1"></th>
- <?php $j++; ?>
- @endif
- @if($j % 4 == 0)
- </tr>
- <tr>
- @endif
- @endforeach
- </tr>
- <tr> <!-- ROW 16 -->
- <th style="text-align: center; font-size: 14px;" colspan="24"></th>
- </tr>
- <tr> <!-- ROW 4 -->
- <th style="text-align: center; font-size: 20px;" colspan="24">GRAVEYARD SHIFT MOD, Sara (830pm-615am)</th>
- </tr>
- <tr> <!-- ROW 5 -->
- <th style="text-align: center; font-size: 16px;" colspan="24">Dispatch: MOD</th>
- </tr>
- <tr> <!-- ROW 6 -->
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
- <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
- <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
- <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
- <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
- </tr>
- <tr> <!-- ROW 7 -->
- <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
- <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
- <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
- <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
- <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
- </tr>
- <tr> <!-- ROW 8 -->
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="3">4pm boxes</th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="3"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="3"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="2"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- </tr>
- <tr> <!-- ROW 9 -->
- <th style="text-align: center; font-size: 14px;" colspan="24">Ambassadors</th>
- </tr>
- <tr> <!-- ROW 10 -->
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
- </tr>
- <?php $k = 0; ?>
- <tr>
- @foreach($tuesdays as $tuesday)
- <?php $shift_worker_id = DB::table('schedule')->where('id', $tuesday->id)->value('shift_worker_id') ?>
- <?php $zone_id = DB::table('schedule')->where('id', $tuesday->id)->value('zone_id') ?>
- <?php $zone = DB::table('zone')->where('id', $zone_id)->value('name') ?>
- <?php $worker_id = DB::table('shift_worker')->where('id', $shift_worker_id)->value('worker_id') ?>
- <?php $shift_id = DB::table('shift_worker')->where('id', $shift_worker_id)->value('shift_id') ?>
- <?php $time = DB::table('shift')->where('id', $shift_id)->value('time') ?>
- <?php $type = DB::table('shift')->where('id', $shift_id)->value('type') ?>
- <?php $name = DB::table('worker')->where('id', $worker_id)->value('name') ?>
- @if($type == "Graveyard")
- <th style="font-size:11px" colspan="1">{{$name}}</th>
- <th style="font-size:7px" colspan="1">{{$time}}</th>
- <th style="font-size:11px" colspan="1">{{$zone}}</th>
- <th colspan="1"></th>
- <th colspan="1"></th>
- <th colspan="1"></th>
- <?php $k++; ?>
- @endif
- @if($k % 4 == 0)
- </tr>
- <tr>
- @endif
- @endforeach
- </tr>
- <tr> <!-- ROW 16 -->
- <th style="text-align: center; font-size: 14px;" colspan="24"></th>
- </tr>
- </tbody>
- </table>
- </div>
- <div role="tabpanel" class="tab-pane fade" id="tab_content3" aria-labelledby="profile-tab">
- <table class="table table-bordered" style="table-layout:fixed; width:100%;">
- <thead>
- <tr> <!-- ROW 1 -->
- <th style="text-align: center; font-size: 20px;" colspan="24">Gaming Operations Manager: Tiffany Watler</th>
- </tr>
- <tr> <!-- ROW 2 -->
- <th style="text-align: center; font-size: 20px;" colspan="24">Daily Zone Assignments</th>
- </tr>
- <tr> <!-- ROW 3 -->
- <?php $date = DB::table('schedule')->where('day', 'Wednesday')->value('date'); ?>
- <th style="text-align: center; font-size: 14px;" colspan="24">Wednesday Date: {{$date}}</th>
- </tr>
- </thead>
- <tbody>
- <tr> <!-- ROW 4 -->
- <th style="text-align: center; font-size: 20px;" colspan="24">DAY SHIFT MOD, Clemson (8am-430pm)</th>
- </tr>
- <tr> <!-- ROW 5 -->
- <th style="text-align: center; font-size: 16px;" colspan="24">Dispatch: MOD</th>
- </tr>
- <tr> <!-- ROW 6 -->
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
- <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
- <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
- <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
- <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
- </tr>
- <tr> <!-- ROW 7 -->
- <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
- <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
- <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
- <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
- <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
- </tr>
- <tr> <!-- ROW 8 -->
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="3">4pm boxes</th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="3"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="3"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="2"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- </tr>
- <tr> <!-- ROW 9 -->
- <th style="text-align: center; font-size: 14px;" colspan="24">Ambassadors</th>
- </tr>
- <tr> <!-- ROW 10 -->
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
- </tr>
- <?php $i = 0; ?>
- <tr>
- @foreach($wednesdays as $wednesday)
- <?php $shift_worker_id = DB::table('schedule')->where('id', $wednesday->id)->value('shift_worker_id') ?>
- <?php $zone_id = DB::table('schedule')->where('id', $wednesday->id)->value('zone_id') ?>
- <?php $zone = DB::table('zone')->where('id', $zone_id)->value('name') ?>
- <?php $worker_id = DB::table('shift_worker')->where('id', $shift_worker_id)->value('worker_id') ?>
- <?php $shift_id = DB::table('shift_worker')->where('id', $shift_worker_id)->value('shift_id') ?>
- <?php $time = DB::table('shift')->where('id', $shift_id)->value('time') ?>
- <?php $type = DB::table('shift')->where('id', $shift_id)->value('type') ?>
- <?php $name = DB::table('worker')->where('id', $worker_id)->value('name') ?>
- @if($type == "Day")
- <th style="font-size:11px" colspan="1">{{$name}}</th>
- <th style="font-size:7px" colspan="1">{{$time}}</th>
- <th style="font-size:11px" colspan="1">{{$zone}}</th>
- <th colspan="1"></th>
- <th colspan="1"></th>
- <th colspan="1"></th>
- <?php $i++; ?>
- @endif
- @if($i % 4 == 0)
- </tr>
- <tr>
- @endif
- @endforeach
- </tr>
- <tr> <!-- ROW 16 -->
- <th style="text-align: center; font-size: 14px;" colspan="24"></th>
- </tr>
- <tr> <!-- ROW 4 -->
- <th style="text-align: center; font-size: 20px;" colspan="24">SWING SHIFT MOD, Brandon (215pm-830pm)</th>
- </tr>
- <tr> <!-- ROW 5 -->
- <th style="text-align: center; font-size: 16px;" colspan="24">Dispatch: MOD</th>
- </tr>
- <tr> <!-- ROW 6 -->
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
- <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
- <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
- <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
- <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
- </tr>
- <tr> <!-- ROW 7 -->
- <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
- <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
- <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
- <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
- <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
- </tr>
- <tr> <!-- ROW 8 -->
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="3">4pm boxes</th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="3"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="3"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="2"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- </tr>
- <tr> <!-- ROW 9 -->
- <th style="text-align: center; font-size: 14px;" colspan="24">Ambassadors</th>
- </tr>
- <tr> <!-- ROW 10 -->
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
- </tr>
- <?php $j = 0; ?>
- <tr>
- @foreach($wednesdays as $wednesday)
- <?php $shift_worker_id = DB::table('schedule')->where('id', $wednesday->id)->value('shift_worker_id') ?>
- <?php $zone_id = DB::table('schedule')->where('id', $wednesday->id)->value('zone_id') ?>
- <?php $zone = DB::table('zone')->where('id', $zone_id)->value('name') ?>
- <?php $worker_id = DB::table('shift_worker')->where('id', $shift_worker_id)->value('worker_id') ?>
- <?php $shift_id = DB::table('shift_worker')->where('id', $shift_worker_id)->value('shift_id') ?>
- <?php $time = DB::table('shift')->where('id', $shift_id)->value('time') ?>
- <?php $type = DB::table('shift')->where('id', $shift_id)->value('type') ?>
- <?php $name = DB::table('worker')->where('id', $worker_id)->value('name') ?>
- @if($type == "Swing")
- <th style="font-size:11px" colspan="1">{{$name}}</th>
- <th style="font-size:7px" colspan="1">{{$time}}</th>
- <th style="font-size:11px" colspan="1">{{$zone}}</th>
- <th colspan="1"></th>
- <th colspan="1"></th>
- <th colspan="1"></th>
- <?php $j++; ?>
- @endif
- @if($j % 4 == 0)
- </tr>
- <tr>
- @endif
- @endforeach
- </tr>
- <tr> <!-- ROW 16 -->
- <th style="text-align: center; font-size: 14px;" colspan="24"></th>
- </tr>
- <tr> <!-- ROW 4 -->
- <th style="text-align: center; font-size: 20px;" colspan="24">GRAVEYARD SHIFT MOD, Sara (830pm-615am)</th>
- </tr>
- <tr> <!-- ROW 5 -->
- <th style="text-align: center; font-size: 16px;" colspan="24">Dispatch: MOD</th>
- </tr>
- <tr> <!-- ROW 6 -->
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
- <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
- <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
- <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
- <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
- </tr>
- <tr> <!-- ROW 7 -->
- <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
- <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
- <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
- <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
- <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
- </tr>
- <tr> <!-- ROW 8 -->
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="3">4pm boxes</th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="3"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="3"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="2"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- </tr>
- <tr> <!-- ROW 9 -->
- <th style="text-align: center; font-size: 14px;" colspan="24">Ambassadors</th>
- </tr>
- <tr> <!-- ROW 10 -->
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
- </tr>
- <?php $k = 0; ?>
- <tr>
- @foreach($wednesdays as $wednesday)
- <?php $shift_worker_id = DB::table('schedule')->where('id', $wednesday->id)->value('shift_worker_id') ?>
- <?php $zone_id = DB::table('schedule')->where('id', $wednesday->id)->value('zone_id') ?>
- <?php $zone = DB::table('zone')->where('id', $zone_id)->value('name') ?>
- <?php $worker_id = DB::table('shift_worker')->where('id', $shift_worker_id)->value('worker_id') ?>
- <?php $shift_id = DB::table('shift_worker')->where('id', $shift_worker_id)->value('shift_id') ?>
- <?php $time = DB::table('shift')->where('id', $shift_id)->value('time') ?>
- <?php $type = DB::table('shift')->where('id', $shift_id)->value('type') ?>
- <?php $name = DB::table('worker')->where('id', $worker_id)->value('name') ?>
- @if($type == "Graveyard")
- <th style="font-size:11px" colspan="1">{{$name}}</th>
- <th style="font-size:7px" colspan="1">{{$time}}</th>
- <th style="font-size:11px" colspan="1">{{$zone}}</th>
- <th colspan="1"></th>
- <th colspan="1"></th>
- <th colspan="1"></th>
- <?php $k++; ?>
- @endif
- @if($k % 4 == 0)
- </tr>
- <tr>
- @endif
- @endforeach
- </tr>
- <tr> <!-- ROW 16 -->
- <th style="text-align: center; font-size: 14px;" colspan="24"></th>
- </tr>
- </tbody>
- </table>
- </div>
- <div role="tabpanel" class="tab-pane fade" id="tab_content4" aria-labelledby="profile-tab">
- <table class="table table-bordered" style="table-layout:fixed; width:100%;">
- <thead>
- <tr> <!-- ROW 1 -->
- <th style="text-align: center; font-size: 20px;" colspan="24">Gaming Operations Manager: Tiffany Watler</th>
- </tr>
- <tr> <!-- ROW 2 -->
- <th style="text-align: center; font-size: 20px;" colspan="24">Daily Zone Assignments</th>
- </tr>
- <tr> <!-- ROW 3 -->
- <?php $date = DB::table('schedule')->where('day', 'Thursday')->value('date'); ?>
- <th style="text-align: center; font-size: 14px;" colspan="24">Thursday Date: {{$date}}</th>
- </tr>
- </thead>
- <tbody>
- <tr> <!-- ROW 4 -->
- <th style="text-align: center; font-size: 20px;" colspan="24">DAY SHIFT MOD, Clemson (8am-430pm)</th>
- </tr>
- <tr> <!-- ROW 5 -->
- <th style="text-align: center; font-size: 16px;" colspan="24">Dispatch: MOD</th>
- </tr>
- <tr> <!-- ROW 6 -->
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
- <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
- <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
- <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
- <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
- </tr>
- <tr> <!-- ROW 7 -->
- <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
- <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
- <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
- <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
- <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
- </tr>
- <tr> <!-- ROW 8 -->
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="3">4pm boxes</th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="3"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="3"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="2"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- </tr>
- <tr> <!-- ROW 9 -->
- <th style="text-align: center; font-size: 14px;" colspan="24">Ambassadors</th>
- </tr>
- <tr> <!-- ROW 10 -->
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
- </tr>
- <?php $i = 0; ?>
- <tr>
- @foreach($thursdays as $thursday)
- <?php $shift_worker_id = DB::table('schedule')->where('id', $thursday->id)->value('shift_worker_id') ?>
- <?php $zone_id = DB::table('schedule')->where('id', $thursday->id)->value('zone_id') ?>
- <?php $zone = DB::table('zone')->where('id', $zone_id)->value('name') ?>
- <?php $worker_id = DB::table('shift_worker')->where('id', $shift_worker_id)->value('worker_id') ?>
- <?php $shift_id = DB::table('shift_worker')->where('id', $shift_worker_id)->value('shift_id') ?>
- <?php $time = DB::table('shift')->where('id', $shift_id)->value('time') ?>
- <?php $type = DB::table('shift')->where('id', $shift_id)->value('type') ?>
- <?php $name = DB::table('worker')->where('id', $worker_id)->value('name') ?>
- @if($type == "Day")
- <th style="font-size:11px" colspan="1">{{$name}}</th>
- <th style="font-size:7px" colspan="1">{{$time}}</th>
- <th style="font-size:11px" colspan="1">{{$zone}}</th>
- <th colspan="1"></th>
- <th colspan="1"></th>
- <th colspan="1"></th>
- <?php $i++; ?>
- @endif
- @if($i % 4 == 0)
- </tr>
- <tr>
- @endif
- @endforeach
- </tr>
- <tr> <!-- ROW 16 -->
- <th style="text-align: center; font-size: 14px;" colspan="24"></th>
- </tr>
- <tr> <!-- ROW 4 -->
- <th style="text-align: center; font-size: 20px;" colspan="24">SWING SHIFT MOD, Brandon (215pm-830pm)</th>
- </tr>
- <tr> <!-- ROW 5 -->
- <th style="text-align: center; font-size: 16px;" colspan="24">Dispatch: MOD</th>
- </tr>
- <tr> <!-- ROW 6 -->
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
- <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
- <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
- <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
- <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
- </tr>
- <tr> <!-- ROW 7 -->
- <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
- <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
- <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
- <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
- <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
- </tr>
- <tr> <!-- ROW 8 -->
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="3">4pm boxes</th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="3"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="3"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="2"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- </tr>
- <tr> <!-- ROW 9 -->
- <th style="text-align: center; font-size: 14px;" colspan="24">Ambassadors</th>
- </tr>
- <tr> <!-- ROW 10 -->
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
- </tr>
- <?php $j = 0; ?>
- <tr>
- @foreach($thursdays as $thursday)
- <?php $shift_worker_id = DB::table('schedule')->where('id', $thursday->id)->value('shift_worker_id') ?>
- <?php $zone_id = DB::table('schedule')->where('id', $thursday->id)->value('zone_id') ?>
- <?php $zone = DB::table('zone')->where('id', $zone_id)->value('name') ?>
- <?php $worker_id = DB::table('shift_worker')->where('id', $shift_worker_id)->value('worker_id') ?>
- <?php $shift_id = DB::table('shift_worker')->where('id', $shift_worker_id)->value('shift_id') ?>
- <?php $time = DB::table('shift')->where('id', $shift_id)->value('time') ?>
- <?php $type = DB::table('shift')->where('id', $shift_id)->value('type') ?>
- <?php $name = DB::table('worker')->where('id', $worker_id)->value('name') ?>
- @if($type == "Swing")
- <th style="font-size:11px" colspan="1">{{$name}}</th>
- <th style="font-size:7px" colspan="1">{{$time}}</th>
- <th style="font-size:11px" colspan="1">{{$zone}}</th>
- <th colspan="1"></th>
- <th colspan="1"></th>
- <th colspan="1"></th>
- <?php $j++; ?>
- @endif
- @if($j % 4 == 0)
- </tr>
- <tr>
- @endif
- @endforeach
- </tr>
- <tr> <!-- ROW 16 -->
- <th style="text-align: center; font-size: 14px;" colspan="24"></th>
- </tr>
- <tr> <!-- ROW 4 -->
- <th style="text-align: center; font-size: 20px;" colspan="24">GRAVEYARD SHIFT MOD, Sara (830pm-615am)</th>
- </tr>
- <tr> <!-- ROW 5 -->
- <th style="text-align: center; font-size: 16px;" colspan="24">Dispatch: MOD</th>
- </tr>
- <tr> <!-- ROW 6 -->
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
- <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
- <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
- <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
- <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
- </tr>
- <tr> <!-- ROW 7 -->
- <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
- <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
- <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
- <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
- <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
- </tr>
- <tr> <!-- ROW 8 -->
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="3">4pm boxes</th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="3"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="3"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="2"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- </tr>
- <tr> <!-- ROW 9 -->
- <th style="text-align: center; font-size: 14px;" colspan="24">Ambassadors</th>
- </tr>
- <tr> <!-- ROW 10 -->
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
- </tr>
- <?php $k = 0; ?>
- <tr>
- @foreach($thursdays as $thursday)
- <?php $shift_worker_id = DB::table('schedule')->where('id', $thursday->id)->value('shift_worker_id') ?>
- <?php $zone_id = DB::table('schedule')->where('id', $thursday->id)->value('zone_id') ?>
- <?php $zone = DB::table('zone')->where('id', $zone_id)->value('name') ?>
- <?php $worker_id = DB::table('shift_worker')->where('id', $shift_worker_id)->value('worker_id') ?>
- <?php $shift_id = DB::table('shift_worker')->where('id', $shift_worker_id)->value('shift_id') ?>
- <?php $time = DB::table('shift')->where('id', $shift_id)->value('time') ?>
- <?php $type = DB::table('shift')->where('id', $shift_id)->value('type') ?>
- <?php $name = DB::table('worker')->where('id', $worker_id)->value('name') ?>
- @if($type == "Graveyard")
- <th style="font-size:11px" colspan="1">{{$name}}</th>
- <th style="font-size:7px" colspan="1">{{$time}}</th>
- <th style="font-size:11px" colspan="1">{{$zone}}</th>
- <th colspan="1"></th>
- <th colspan="1"></th>
- <th colspan="1"></th>
- <?php $k++; ?>
- @endif
- @if($k % 4 == 0)
- </tr>
- <tr>
- @endif
- @endforeach
- </tr>
- <tr> <!-- ROW 16 -->
- <th style="text-align: center; font-size: 14px;" colspan="24"></th>
- </tr>
- </tbody>
- </table>
- </div>
- <div role="tabpanel" class="tab-pane fade" id="tab_content5" aria-labelledby="profile-tab">
- <table class="table table-bordered" style="table-layout:fixed; width:100%;">
- <thead>
- <tr> <!-- ROW 1 -->
- <th style="text-align: center; font-size: 20px;" colspan="24">Gaming Operations Manager: Tiffany Watler</th>
- </tr>
- <tr> <!-- ROW 2 -->
- <th style="text-align: center; font-size: 20px;" colspan="24">Daily Zone Assignments</th>
- </tr>
- <tr> <!-- ROW 3 -->
- <?php $date = DB::table('schedule')->where('day', 'Friday')->value('date'); ?>
- <th style="text-align: center; font-size: 14px;" colspan="24">Friday Date: {{$date}}</th>
- </tr>
- </thead>
- <tbody>
- <tr> <!-- ROW 4 -->
- <th style="text-align: center; font-size: 20px;" colspan="24">DAY SHIFT MOD, Clemson (8am-430pm)</th>
- </tr>
- <tr> <!-- ROW 5 -->
- <th style="text-align: center; font-size: 16px;" colspan="24">Dispatch: MOD</th>
- </tr>
- <tr> <!-- ROW 6 -->
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
- <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
- <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
- <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
- <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
- </tr>
- <tr> <!-- ROW 7 -->
- <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
- <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
- <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
- <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
- <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
- </tr>
- <tr> <!-- ROW 8 -->
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="3">4pm boxes</th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="3"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="3"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="2"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- </tr>
- <tr> <!-- ROW 9 -->
- <th style="text-align: center; font-size: 14px;" colspan="24">Ambassadors</th>
- </tr>
- <tr> <!-- ROW 10 -->
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
- </tr>
- <?php $i = 0; ?>
- <tr>
- @foreach($fridays as $friday)
- <?php $shift_worker_id = DB::table('schedule')->where('id', $friday->id)->value('shift_worker_id') ?>
- <?php $zone_id = DB::table('schedule')->where('id', $friday->id)->value('zone_id') ?>
- <?php $zone = DB::table('zone')->where('id', $zone_id)->value('name') ?>
- <?php $worker_id = DB::table('shift_worker')->where('id', $shift_worker_id)->value('worker_id') ?>
- <?php $shift_id = DB::table('shift_worker')->where('id', $shift_worker_id)->value('shift_id') ?>
- <?php $time = DB::table('shift')->where('id', $shift_id)->value('time') ?>
- <?php $type = DB::table('shift')->where('id', $shift_id)->value('type') ?>
- <?php $name = DB::table('worker')->where('id', $worker_id)->value('name') ?>
- @if($type == "Day")
- <th style="font-size:11px" colspan="1">{{$name}}</th>
- <th style="font-size:7px" colspan="1">{{$time}}</th>
- <th style="font-size:11px" colspan="1">{{$zone}}</th>
- <th colspan="1"></th>
- <th colspan="1"></th>
- <th colspan="1"></th>
- <?php $i++; ?>
- @endif
- @if($i % 4 == 0)
- </tr>
- <tr>
- @endif
- @endforeach
- </tr>
- <tr> <!-- ROW 16 -->
- <th style="text-align: center; font-size: 14px;" colspan="24"></th>
- </tr>
- <tr> <!-- ROW 4 -->
- <th style="text-align: center; font-size: 20px;" colspan="24">SWING SHIFT MOD, Brandon (215pm-830pm)</th>
- </tr>
- <tr> <!-- ROW 5 -->
- <th style="text-align: center; font-size: 16px;" colspan="24">Dispatch: MOD</th>
- </tr>
- <tr> <!-- ROW 6 -->
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
- <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
- <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
- <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
- <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
- </tr>
- <tr> <!-- ROW 7 -->
- <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
- <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
- <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
- <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
- <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
- </tr>
- <tr> <!-- ROW 8 -->
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="3">4pm boxes</th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="3"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="3"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="2"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- </tr>
- <tr> <!-- ROW 9 -->
- <th style="text-align: center; font-size: 14px;" colspan="24">Ambassadors</th>
- </tr>
- <tr> <!-- ROW 10 -->
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
- </tr>
- <?php $j = 0; ?>
- <tr>
- @foreach($fridays as $friday)
- <?php $shift_worker_id = DB::table('schedule')->where('id', $friday->id)->value('shift_worker_id') ?>
- <?php $zone_id = DB::table('schedule')->where('id', $friday->id)->value('zone_id') ?>
- <?php $zone = DB::table('zone')->where('id', $zone_id)->value('name') ?>
- <?php $worker_id = DB::table('shift_worker')->where('id', $shift_worker_id)->value('worker_id') ?>
- <?php $shift_id = DB::table('shift_worker')->where('id', $shift_worker_id)->value('shift_id') ?>
- <?php $time = DB::table('shift')->where('id', $shift_id)->value('time') ?>
- <?php $type = DB::table('shift')->where('id', $shift_id)->value('type') ?>
- <?php $name = DB::table('worker')->where('id', $worker_id)->value('name') ?>
- @if($type == "Swing")
- <th style="font-size:11px" colspan="1">{{$name}}</th>
- <th style="font-size:7px" colspan="1">{{$time}}</th>
- <th style="font-size:11px" colspan="1">{{$zone}}</th>
- <th colspan="1"></th>
- <th colspan="1"></th>
- <th colspan="1"></th>
- <?php $j++; ?>
- @endif
- @if($j % 4 == 0)
- </tr>
- <tr>
- @endif
- @endforeach
- </tr>
- <tr> <!-- ROW 16 -->
- <th style="text-align: center; font-size: 14px;" colspan="24"></th>
- </tr>
- <tr> <!-- ROW 4 -->
- <th style="text-align: center; font-size: 20px;" colspan="24">GRAVEYARD SHIFT MOD, Sara (830pm-615am)</th>
- </tr>
- <tr> <!-- ROW 5 -->
- <th style="text-align: center; font-size: 16px;" colspan="24">Dispatch: MOD</th>
- </tr>
- <tr> <!-- ROW 6 -->
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
- <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
- <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
- <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
- <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
- </tr>
- <tr> <!-- ROW 7 -->
- <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
- <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
- <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
- <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
- <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
- </tr>
- <tr> <!-- ROW 8 -->
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="3">4pm boxes</th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="3"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="3"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="2"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- </tr>
- <tr> <!-- ROW 9 -->
- <th style="text-align: center; font-size: 14px;" colspan="24">Ambassadors</th>
- </tr>
- <tr> <!-- ROW 10 -->
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
- </tr>
- <?php $k = 0; ?>
- <tr>
- @foreach($fridays as $friday)
- <?php $shift_worker_id = DB::table('schedule')->where('id', $friday->id)->value('shift_worker_id') ?>
- <?php $zone_id = DB::table('schedule')->where('id', $friday->id)->value('zone_id') ?>
- <?php $zone = DB::table('zone')->where('id', $zone_id)->value('name') ?>
- <?php $worker_id = DB::table('shift_worker')->where('id', $shift_worker_id)->value('worker_id') ?>
- <?php $shift_id = DB::table('shift_worker')->where('id', $shift_worker_id)->value('shift_id') ?>
- <?php $time = DB::table('shift')->where('id', $shift_id)->value('time') ?>
- <?php $type = DB::table('shift')->where('id', $shift_id)->value('type') ?>
- <?php $name = DB::table('worker')->where('id', $worker_id)->value('name') ?>
- @if($type == "Graveyard")
- <th style="font-size:11px" colspan="1">{{$name}}</th>
- <th style="font-size:7px" colspan="1">{{$time}}</th>
- <th style="font-size:11px" colspan="1">{{$zone}}</th>
- <th colspan="1"></th>
- <th colspan="1"></th>
- <th colspan="1"></th>
- <?php $k++; ?>
- @endif
- @if($k % 4 == 0)
- </tr>
- <tr>
- @endif
- @endforeach
- </tr>
- <tr> <!-- ROW 16 -->
- <th style="text-align: center; font-size: 14px;" colspan="24"></th>
- </tr>
- </tbody>
- </table>
- </div>
- <div role="tabpanel" class="tab-pane fade" id="tab_content6" aria-labelledby="profile-tab">
- <table class="table table-bordered" style="table-layout:fixed; width:100%;">
- <thead>
- <tr> <!-- ROW 1 -->
- <th style="text-align: center; font-size: 20px;" colspan="24">Gaming Operations Manager: Tiffany Watler</th>
- </tr>
- <tr> <!-- ROW 2 -->
- <th style="text-align: center; font-size: 20px;" colspan="24">Daily Zone Assignments</th>
- </tr>
- <tr> <!-- ROW 3 -->
- <?php $date = DB::table('schedule')->where('day', 'Saturday')->value('date'); ?>
- <th style="text-align: center; font-size: 14px;" colspan="24">Saturday Date: {{$date}}</th>
- </tr>
- </thead>
- <tbody>
- <tr> <!-- ROW 4 -->
- <th style="text-align: center; font-size: 20px;" colspan="24">DAY SHIFT MOD, Clemson (8am-430pm)</th>
- </tr>
- <tr> <!-- ROW 5 -->
- <th style="text-align: center; font-size: 16px;" colspan="24">Dispatch: MOD</th>
- </tr>
- <tr> <!-- ROW 6 -->
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
- <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
- <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
- <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
- <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
- </tr>
- <tr> <!-- ROW 7 -->
- <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
- <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
- <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
- <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
- <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
- </tr>
- <tr> <!-- ROW 8 -->
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="3">4pm boxes</th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="3"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="3"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="2"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- </tr>
- <tr> <!-- ROW 9 -->
- <th style="text-align: center; font-size: 14px;" colspan="24">Ambassadors</th>
- </tr>
- <tr> <!-- ROW 10 -->
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
- </tr>
- <?php $i = 0; ?>
- <tr>
- @foreach($saturdays as $saturday)
- <?php $shift_worker_id = DB::table('schedule')->where('id', $saturday->id)->value('shift_worker_id') ?>
- <?php $zone_id = DB::table('schedule')->where('id', $saturday->id)->value('zone_id') ?>
- <?php $zone = DB::table('zone')->where('id', $zone_id)->value('name') ?>
- <?php $worker_id = DB::table('shift_worker')->where('id', $shift_worker_id)->value('worker_id') ?>
- <?php $shift_id = DB::table('shift_worker')->where('id', $shift_worker_id)->value('shift_id') ?>
- <?php $time = DB::table('shift')->where('id', $shift_id)->value('time') ?>
- <?php $type = DB::table('shift')->where('id', $shift_id)->value('type') ?>
- <?php $name = DB::table('worker')->where('id', $worker_id)->value('name') ?>
- @if($type == "Day")
- <th style="font-size:11px" colspan="1">{{$name}}</th>
- <th style="font-size:7px" colspan="1">{{$time}}</th>
- <th style="font-size:11px" colspan="1">{{$zone}}</th>
- <th colspan="1"></th>
- <th colspan="1"></th>
- <th colspan="1"></th>
- <?php $i++; ?>
- @endif
- @if($i % 4 == 0)
- </tr>
- <tr>
- @endif
- @endforeach
- </tr>
- <tr> <!-- ROW 16 -->
- <th style="text-align: center; font-size: 14px;" colspan="24"></th>
- </tr>
- <tr> <!-- ROW 4 -->
- <th style="text-align: center; font-size: 20px;" colspan="24">SWING SHIFT MOD, Brandon (215pm-830pm)</th>
- </tr>
- <tr> <!-- ROW 5 -->
- <th style="text-align: center; font-size: 16px;" colspan="24">Dispatch: MOD</th>
- </tr>
- <tr> <!-- ROW 6 -->
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
- <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
- <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
- <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
- <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
- </tr>
- <tr> <!-- ROW 7 -->
- <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
- <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
- <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
- <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
- <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
- </tr>
- <tr> <!-- ROW 8 -->
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="3">4pm boxes</th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="3"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="3"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="2"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- </tr>
- <tr> <!-- ROW 9 -->
- <th style="text-align: center; font-size: 14px;" colspan="24">Ambassadors</th>
- </tr>
- <tr> <!-- ROW 10 -->
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
- </tr>
- <?php $j = 0; ?>
- <tr>
- @foreach($saturdays as $saturday)
- <?php $shift_worker_id = DB::table('schedule')->where('id', $saturday->id)->value('shift_worker_id') ?>
- <?php $zone_id = DB::table('schedule')->where('id', $saturday->id)->value('zone_id') ?>
- <?php $zone = DB::table('zone')->where('id', $zone_id)->value('name') ?>
- <?php $worker_id = DB::table('shift_worker')->where('id', $shift_worker_id)->value('worker_id') ?>
- <?php $shift_id = DB::table('shift_worker')->where('id', $shift_worker_id)->value('shift_id') ?>
- <?php $time = DB::table('shift')->where('id', $shift_id)->value('time') ?>
- <?php $type = DB::table('shift')->where('id', $shift_id)->value('type') ?>
- <?php $name = DB::table('worker')->where('id', $worker_id)->value('name') ?>
- @if($type == "Swing")
- <th style="font-size:11px" colspan="1">{{$name}}</th>
- <th style="font-size:7px" colspan="1">{{$time}}</th>
- <th style="font-size:11px" colspan="1">{{$zone}}</th>
- <th colspan="1"></th>
- <th colspan="1"></th>
- <th colspan="1"></th>
- <?php $j++; ?>
- @endif
- @if($j % 4 == 0)
- </tr>
- <tr>
- @endif
- @endforeach
- </tr>
- <tr> <!-- ROW 16 -->
- <th style="text-align: center; font-size: 14px;" colspan="24"></th>
- </tr>
- <tr> <!-- ROW 4 -->
- <th style="text-align: center; font-size: 20px;" colspan="24">GRAVEYARD SHIFT MOD, Sara (830pm-615am)</th>
- </tr>
- <tr> <!-- ROW 5 -->
- <th style="text-align: center; font-size: 16px;" colspan="24">Dispatch: MOD</th>
- </tr>
- <tr> <!-- ROW 6 -->
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
- <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
- <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
- <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
- <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
- </tr>
- <tr> <!-- ROW 7 -->
- <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
- <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
- <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
- <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
- <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
- </tr>
- <tr> <!-- ROW 8 -->
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="3">4pm boxes</th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="3"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="3"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="2"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- </tr>
- <tr> <!-- ROW 9 -->
- <th style="text-align: center; font-size: 14px;" colspan="24">Ambassadors</th>
- </tr>
- <tr> <!-- ROW 10 -->
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
- </tr>
- <?php $k = 0; ?>
- <tr>
- @foreach($saturdays as $saturday)
- <?php $shift_worker_id = DB::table('schedule')->where('id', $saturday->id)->value('shift_worker_id') ?>
- <?php $zone_id = DB::table('schedule')->where('id', $saturday->id)->value('zone_id') ?>
- <?php $zone = DB::table('zone')->where('id', $zone_id)->value('name') ?>
- <?php $worker_id = DB::table('shift_worker')->where('id', $shift_worker_id)->value('worker_id') ?>
- <?php $shift_id = DB::table('shift_worker')->where('id', $shift_worker_id)->value('shift_id') ?>
- <?php $time = DB::table('shift')->where('id', $shift_id)->value('time') ?>
- <?php $type = DB::table('shift')->where('id', $shift_id)->value('type') ?>
- <?php $name = DB::table('worker')->where('id', $worker_id)->value('name') ?>
- @if($type == "Graveyard")
- <th style="font-size:11px" colspan="1">{{$name}}</th>
- <th style="font-size:7px" colspan="1">{{$time}}</th>
- <th style="font-size:11px" colspan="1">{{$zone}}</th>
- <th colspan="1"></th>
- <th colspan="1"></th>
- <th colspan="1"></th>
- <?php $k++; ?>
- @endif
- @if($k % 4 == 0)
- </tr>
- <tr>
- @endif
- @endforeach
- </tr>
- <tr> <!-- ROW 16 -->
- <th style="text-align: center; font-size: 14px;" colspan="24"></th>
- </tr>
- </tbody>
- </table>
- </div>
- <div role="tabpanel" class="tab-pane fade" id="tab_content7" aria-labelledby="profile-tab">
- <table class="table table-bordered" style="table-layout:fixed; width:100%;">
- <thead>
- <tr> <!-- ROW 1 -->
- <th style="text-align: center; font-size: 20px;" colspan="24">Gaming Operations Manager: Tiffany Watler</th>
- </tr>
- <tr> <!-- ROW 2 -->
- <th style="text-align: center; font-size: 20px;" colspan="24">Daily Zone Assignments</th>
- </tr>
- <tr> <!-- ROW 3 -->
- <?php $date = DB::table('schedule')->where('day', 'Sunday')->value('date'); ?>
- <th style="text-align: center; font-size: 14px;" colspan="24">Sunday Date: {{$date}}</th>
- </tr>
- </thead>
- <tbody>
- <tr> <!-- ROW 4 -->
- <th style="text-align: center; font-size: 20px;" colspan="24">DAY SHIFT MOD, Clemson (8am-430pm)</th>
- </tr>
- <tr> <!-- ROW 5 -->
- <th style="text-align: center; font-size: 16px;" colspan="24">Dispatch: MOD</th>
- </tr>
- <tr> <!-- ROW 6 -->
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
- <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
- <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
- <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
- <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
- </tr>
- <tr> <!-- ROW 7 -->
- <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
- <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
- <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
- <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
- <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
- </tr>
- <tr> <!-- ROW 8 -->
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="3">4pm boxes</th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="3"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="3"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="2"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- </tr>
- <tr> <!-- ROW 9 -->
- <th style="text-align: center; font-size: 14px;" colspan="24">Ambassadors</th>
- </tr>
- <tr> <!-- ROW 10 -->
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
- </tr>
- <?php $i = 0; ?>
- <tr>
- @foreach($sundays as $sunday)
- <?php $shift_worker_id = DB::table('schedule')->where('id', $sunday->id)->value('shift_worker_id') ?>
- <?php $zone_id = DB::table('schedule')->where('id', $sunday->id)->value('zone_id') ?>
- <?php $zone = DB::table('zone')->where('id', $zone_id)->value('name') ?>
- <?php $worker_id = DB::table('shift_worker')->where('id', $shift_worker_id)->value('worker_id') ?>
- <?php $shift_id = DB::table('shift_worker')->where('id', $shift_worker_id)->value('shift_id') ?>
- <?php $time = DB::table('shift')->where('id', $shift_id)->value('time') ?>
- <?php $type = DB::table('shift')->where('id', $shift_id)->value('type') ?>
- <?php $name = DB::table('worker')->where('id', $worker_id)->value('name') ?>
- @if($type == "Day")
- <th style="font-size:11px" colspan="1">{{$name}}</th>
- <th style="font-size:7px" colspan="1">{{$time}}</th>
- <th style="font-size:11px" colspan="1">{{$zone}}</th>
- <th colspan="1"></th>
- <th colspan="1"></th>
- <th colspan="1"></th>
- <?php $i++; ?>
- @endif
- @if($i % 4 == 0)
- </tr>
- <tr>
- @endif
- @endforeach
- </tr>
- <tr> <!-- ROW 16 -->
- <th style="text-align: center; font-size: 14px;" colspan="24"></th>
- </tr>
- <tr> <!-- ROW 4 -->
- <th style="text-align: center; font-size: 20px;" colspan="24">SWING SHIFT MOD, Brandon (215pm-830pm)</th>
- </tr>
- <tr> <!-- ROW 5 -->
- <th style="text-align: center; font-size: 16px;" colspan="24">Dispatch: MOD</th>
- </tr>
- <tr> <!-- ROW 6 -->
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
- <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
- <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
- <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
- <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
- </tr>
- <tr> <!-- ROW 7 -->
- <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
- <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
- <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
- <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
- <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
- </tr>
- <tr> <!-- ROW 8 -->
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="3">4pm boxes</th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="3"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="3"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="2"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- </tr>
- <tr> <!-- ROW 9 -->
- <th style="text-align: center; font-size: 14px;" colspan="24">Ambassadors</th>
- </tr>
- <tr> <!-- ROW 10 -->
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
- </tr>
- <?php $j = 0; ?>
- <tr>
- @foreach($sundays as $sunday)
- <?php $shift_worker_id = DB::table('schedule')->where('id', $sunday->id)->value('shift_worker_id') ?>
- <?php $zone_id = DB::table('schedule')->where('id', $sunday->id)->value('zone_id') ?>
- <?php $zone = DB::table('zone')->where('id', $zone_id)->value('name') ?>
- <?php $worker_id = DB::table('shift_worker')->where('id', $shift_worker_id)->value('worker_id') ?>
- <?php $shift_id = DB::table('shift_worker')->where('id', $shift_worker_id)->value('shift_id') ?>
- <?php $time = DB::table('shift')->where('id', $shift_id)->value('time') ?>
- <?php $type = DB::table('shift')->where('id', $shift_id)->value('type') ?>
- <?php $name = DB::table('worker')->where('id', $worker_id)->value('name') ?>
- @if($type == "Swing")
- <th style="font-size:11px" colspan="1">{{$name}}</th>
- <th style="font-size:7px" colspan="1">{{$time}}</th>
- <th style="font-size:11px" colspan="1">{{$zone}}</th>
- <th colspan="1"></th>
- <th colspan="1"></th>
- <th colspan="1"></th>
- <?php $j++; ?>
- @endif
- @if($j % 4 == 0)
- </tr>
- <tr>
- @endif
- @endforeach
- </tr>
- <tr> <!-- ROW 16 -->
- <th style="text-align: center; font-size: 14px;" colspan="24"></th>
- </tr>
- <tr> <!-- ROW 4 -->
- <th style="text-align: center; font-size: 20px;" colspan="24">GRAVEYARD SHIFT MOD, Sara (830pm-615am)</th>
- </tr>
- <tr> <!-- ROW 5 -->
- <th style="text-align: center; font-size: 16px;" colspan="24">Dispatch: MOD</th>
- </tr>
- <tr> <!-- ROW 6 -->
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
- <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
- <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
- <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONES</th>
- <th style="text-align: center; font-size: 11px;" colspan="3">BREAK</th>
- </tr>
- <tr> <!-- ROW 7 -->
- <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
- <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
- <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
- <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">Person</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">shift hr</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">abc</th>
- <th style="text-align: center; font-size: 11px;" colspan="2">12pm & 3pm</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">kiosk</th>
- </tr>
- <tr> <!-- ROW 8 -->
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="3">4pm boxes</th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="3"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="3"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- <th style="text-align: center; font-size: 11px;" colspan="2"></th>
- <th style="text-align: center; font-size: 11px;" colspan="1"></th>
- </tr>
- <tr> <!-- ROW 9 -->
- <th style="text-align: center; font-size: 14px;" colspan="24">Ambassadors</th>
- </tr>
- <tr> <!-- ROW 10 -->
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">NAME</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">SHIFT</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">ZONE</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 1</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">BREAK 2</th>
- <th style="text-align: center; font-size: 11px;" colspan="1">CHAIRS</th>
- </tr>
- <?php $k = 0; ?>
- <tr>
- @foreach($sundays as $sunday)
- <?php $shift_worker_id = DB::table('schedule')->where('id', $sunday->id)->value('shift_worker_id') ?>
- <?php $zone_id = DB::table('schedule')->where('id', $sunday->id)->value('zone_id') ?>
- <?php $zone = DB::table('zone')->where('id', $zone_id)->value('name') ?>
- <?php $worker_id = DB::table('shift_worker')->where('id', $shift_worker_id)->value('worker_id') ?>
- <?php $shift_id = DB::table('shift_worker')->where('id', $shift_worker_id)->value('shift_id') ?>
- <?php $time = DB::table('shift')->where('id', $shift_id)->value('time') ?>
- <?php $type = DB::table('shift')->where('id', $shift_id)->value('type') ?>
- <?php $name = DB::table('worker')->where('id', $worker_id)->value('name') ?>
- @if($type == "Graveyard")
- <th style="font-size:11px" colspan="1">{{$name}}</th>
- <th style="font-size:7px" colspan="1">{{$time}}</th>
- <th style="font-size:11px" colspan="1">{{$zone}}</th>
- <th colspan="1"></th>
- <th colspan="1"></th>
- <th colspan="1"></th>
- <?php $k++; ?>
- @endif
- @if($k % 4 == 0)
- </tr>
- <tr>
- @endif
- @endforeach
- </tr>
- <tr> <!-- ROW 16 -->
- <th style="text-align: center; font-size: 14px;" colspan="24"></th>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div align="right">
- <a href="/generate"><button type="button" class="btn btn-primary">Generate</button></a>
- <button type="button" class="btn btn-primary"><i class="fa fa-envelope-o" aria-hidden="true"></i> Email</button>
- <a href="/monday"><button type="button" class="btn btn-success"><i class="fa fa-arrow-down" aria-hidden="true"></i> Download</button></a>
- </div>
- </div>
- </div>
- </div>
- <div class="clearfix"></div>
- <br>
- </div>
- <!-- /page content -->
- <!-- footer content -->
- <footer>
- <div class="pull-right">
- </div>
- <div class="clearfix"></div>
- </footer>
- <!-- /footer content -->
- </div>
- </div>
- <div id="custom_notifications" class="custom-notifications dsp_none">
- <ul class="list-unstyled notifications clearfix" data-tabbed_notifications="notif-group">
- </ul>
- <div class="clearfix"></div>
- <div id="notif-group" class="tabbed_notifications"></div>
- </div>
- <!-- jQuery -->
- <script src="../vendors/jquery/dist/jquery.min.js"></script>
- <!-- Bootstrap -->
- <script src="../vendors/bootstrap/dist/js/bootstrap.min.js"></script>
- <!-- FastClick -->
- <script src="../vendors/fastclick/lib/fastclick.js"></script>
- <!-- NProgress -->
- <script src="../vendors/nprogress/nprogress.js"></script>
- <!-- bootstrap-progressbar -->
- <script src="../vendors/bootstrap-progressbar/bootstrap-progressbar.min.js"></script>
- <!-- iCheck -->
- <script src="../vendors/iCheck/icheck.min.js"></script>
- <!-- PNotify -->
- <script src="../vendors/pnotify/dist/pnotify.js"></script>
- <script src="../vendors/pnotify/dist/pnotify.buttons.js"></script>
- <script src="../vendors/pnotify/dist/pnotify.nonblock.js"></script>
- <!-- Custom Theme Scripts -->
- <script src="../build/js/custom.min.js"></script>
- <!-- Custom Notification -->
- <script>
- $(document).ready(function() {
- var cnt = 10;
- TabbedNotification = function(options) {
- var message = "<div id='ntf" + cnt + "' class='text alert-" + options.type + "' style='display:none'><h2><i class='fa fa-bell'></i> " + options.title +
- "</h2><div class='close'><a href='javascript:;' class='notification_close'><i class='fa fa-close'></i></a></div><p>" + options.text + "</p></div>";
- if (!document.getElementById('custom_notifications')) {
- alert('doesnt exists');
- } else {
- $('#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>");
- $('#custom_notifications #notif-group').append(message);
- cnt++;
- CustomTabs(options);
- }
- };
- CustomTabs = function(options) {
- $('.tabbed_notifications > div').hide();
- $('.tabbed_notifications > div:first-of-type').show();
- $('#custom_notifications').removeClass('dsp_none');
- $('.notifications a').click(function(e) {
- e.preventDefault();
- var $this = $(this),
- tabbed_notifications = '#' + $this.parents('.notifications').data('tabbed_notifications'),
- others = $this.closest('li').siblings().children('a'),
- target = $this.attr('href');
- others.removeClass('active');
- $this.addClass('active');
- $(tabbed_notifications).children('div').hide();
- $(target).show();
- });
- };
- $(document).on('click', 'home-tab', function(){
- location.href = 'www.159.203.91.131/monday';
- });
- CustomTabs();
- var tabid = idname = '';
- $(document).on('click', '.notification_close', function(e) {
- idname = $(this).parent().parent().attr("id");
- tabid = idname.substr(-2);
- $('#ntf' + tabid).remove();
- $('#ntlink' + tabid).parent().remove();
- $('.notifications a').first().addClass('active');
- $('#notif-group div').first().css('display', 'block');
- });
- });
- </script>
- <!-- /Custom Notification -->
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement