@extends('layout.masters') @section('content')

Welcome to Happyness Factory Tool

@if(session()->has('message'))
{{ session()->get('message') }}
@endif

Upcoming Deployments

@foreach($upcomingDeployments as $schedule) @if(date('Y-m-d') <= $schedule->schedule_date) @endif @endforeach
Deployment Title Server Name Deployment Type Scheduled Date Start Time End Time
{{$schedule->dep_title}} {{$schedule->server_name}} {{$schedule->dep_type}} {{date('d M Y', strtotime($schedule->schedule_date))}} {{date('h:i A', strtotime($schedule->dep_time_start))}} {{date('h:i A', strtotime($schedule->dep_time_end))}}

Complete Deployments

@foreach($completeDeployments as $deploy) @endforeach
Deployment Title Server Deployed Branch Deployed By Deployed Date Deployed Time Status
{{$deploy->dep_title}} {{$deploy->server_name}} {{$deploy->dep_branch}} {{$deploy->name}} {{date('d M Y', strtotime($deploy->dep_date))}} {{date('h:i A', strtotime($deploy->updated_at))}} {{$deploy->dep_result}}
@endsection