Major updates

This commit is contained in:
root
2018-06-11 13:43:21 -04:00
commit a8c090e288
181 changed files with 22768 additions and 0 deletions

22
resources/assets/js/app.js vendored Normal file
View File

@ -0,0 +1,22 @@
/**
* First we will load all of this project's JavaScript dependencies which
* includes Vue and other libraries. It is a great starting point when
* building robust, powerful web applications using Vue and Laravel.
*/
require('./bootstrap');
window.Vue = require('vue');
/**
* Next, we will create a fresh Vue application instance and attach it to
* the page. Then, you may begin adding components to this application
* or customize the JavaScript scaffolding to fit your unique needs.
*/
Vue.component('example', require('./components/Example.vue'));
const app = new Vue({
el: '#app'
});

53
resources/assets/js/bootstrap.js vendored Normal file
View File

@ -0,0 +1,53 @@
window._ = require('lodash');
/**
* We'll load jQuery and the Bootstrap jQuery plugin which provides support
* for JavaScript based Bootstrap features such as modals and tabs. This
* code may be modified to fit the specific needs of your application.
*/
try {
window.$ = window.jQuery = require('jquery');
require('bootstrap-sass');
} catch (e) {}
/**
* We'll load the axios HTTP library which allows us to easily issue requests
* to our Laravel back-end. This library automatically handles sending the
* CSRF token as a header based on the value of the "XSRF" token cookie.
*/
window.axios = require('axios');
window.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest';
/**
* Next we will register the CSRF Token as a common header with Axios so that
* all outgoing HTTP requests automatically have it attached. This is just
* a simple convenience so we don't have to attach every token manually.
*/
let token = document.head.querySelector('meta[name="csrf-token"]');
if (token) {
window.axios.defaults.headers.common['X-CSRF-TOKEN'] = token.content;
} else {
console.error('CSRF token not found: https://laravel.com/docs/csrf#csrf-x-csrf-token');
}
/**
* Echo exposes an expressive API for subscribing to channels and listening
* for events that are broadcast by Laravel. Echo and event broadcasting
* allows your team to easily build robust real-time web applications.
*/
// import Echo from 'laravel-echo'
// window.Pusher = require('pusher-js');
// window.Echo = new Echo({
// broadcaster: 'pusher',
// key: 'your-pusher-key'
// });

View File

@ -0,0 +1,23 @@
<template>
<div class="container">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<div class="panel panel-default">
<div class="panel-heading">Example Component</div>
<div class="panel-body">
I'm an example component!
</div>
</div>
</div>
</div>
</div>
</template>
<script>
export default {
mounted() {
console.log('Component mounted.')
}
}
</script>

38
resources/assets/sass/_variables.scss vendored Normal file
View File

@ -0,0 +1,38 @@
// Body
$body-bg: #f5f8fa;
// Borders
$laravel-border-color: darken($body-bg, 10%);
$list-group-border: $laravel-border-color;
$navbar-default-border: $laravel-border-color;
$panel-default-border: $laravel-border-color;
$panel-inner-border: $laravel-border-color;
// Brands
$brand-primary: #3097D1;
$brand-info: #8eb4cb;
$brand-success: #2ab27b;
$brand-warning: #cbb956;
$brand-danger: #bf5329;
// Typography
$icon-font-path: "~bootstrap-sass/assets/fonts/bootstrap/";
$font-family-sans-serif: "Raleway", sans-serif;
$font-size-base: 14px;
$line-height-base: 1.6;
$text-color: #636b6f;
// Navbar
$navbar-default-bg: #fff;
// Buttons
$btn-default-color: $text-color;
// Inputs
$input-border: lighten($text-color, 40%);
$input-border-focus: lighten($brand-primary, 25%);
$input-color-placeholder: lighten($text-color, 30%);
// Panels
$panel-default-heading-bg: #fff;

9
resources/assets/sass/app.scss vendored Normal file
View File

@ -0,0 +1,9 @@
// Fonts
@import url(https://fonts.googleapis.com/css?family=Raleway:300,400,600);
// Variables
@import "variables";
// Bootstrap
@import "node_modules/bootstrap-sass/assets/stylesheets/bootstrap";

View File

@ -0,0 +1,19 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Authentication Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are used during authentication for various
| messages that we need to display to the user. You are free to modify
| these language lines according to your application's requirements.
|
*/
'failed' => 'These credentials do not match our records.',
'throttle' => 'Too many login attempts. Please try again in :seconds seconds.',
];

View File

@ -0,0 +1,19 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Pagination Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are used by the paginator library to build
| the simple pagination links. You are free to change them to anything
| you want to customize your views to better match your application.
|
*/
'previous' => '&laquo; Previous',
'next' => 'Next &raquo;',
];

View File

@ -0,0 +1,22 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Password Reset Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are the default lines which match reasons
| that are given by the password broker for a password update attempt
| has failed, such as for an invalid token or invalid new password.
|
*/
'password' => 'Passwords must be at least six characters and match the confirmation.',
'reset' => 'Your password has been reset!',
'sent' => 'We have e-mailed your password reset link!',
'token' => 'This password reset token is invalid.',
'user' => "We can't find a user with that e-mail address.",
];

View File

@ -0,0 +1,121 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Validation Language Lines
|--------------------------------------------------------------------------
|
| The following language lines contain the default error messages used by
| the validator class. Some of these rules have multiple versions such
| as the size rules. Feel free to tweak each of these messages here.
|
*/
'accepted' => 'The :attribute must be accepted.',
'active_url' => 'The :attribute is not a valid URL.',
'after' => 'The :attribute must be a date after :date.',
'after_or_equal' => 'The :attribute must be a date after or equal to :date.',
'alpha' => 'The :attribute may only contain letters.',
'alpha_dash' => 'The :attribute may only contain letters, numbers, and dashes.',
'alpha_num' => 'The :attribute may only contain letters and numbers.',
'array' => 'The :attribute must be an array.',
'before' => 'The :attribute must be a date before :date.',
'before_or_equal' => 'The :attribute must be a date before or equal to :date.',
'between' => [
'numeric' => 'The :attribute must be between :min and :max.',
'file' => 'The :attribute must be between :min and :max kilobytes.',
'string' => 'The :attribute must be between :min and :max characters.',
'array' => 'The :attribute must have between :min and :max items.',
],
'boolean' => 'The :attribute field must be true or false.',
'confirmed' => 'The :attribute confirmation does not match.',
'date' => 'The :attribute is not a valid date.',
'date_format' => 'The :attribute does not match the format :format.',
'different' => 'The :attribute and :other must be different.',
'digits' => 'The :attribute must be :digits digits.',
'digits_between' => 'The :attribute must be between :min and :max digits.',
'dimensions' => 'The :attribute has invalid image dimensions.',
'distinct' => 'The :attribute field has a duplicate value.',
'email' => 'The :attribute must be a valid email address.',
'exists' => 'The selected :attribute is invalid.',
'file' => 'The :attribute must be a file.',
'filled' => 'The :attribute field must have a value.',
'image' => 'The :attribute must be an image.',
'in' => 'The selected :attribute is invalid.',
'in_array' => 'The :attribute field does not exist in :other.',
'integer' => 'The :attribute must be an integer.',
'ip' => 'The :attribute must be a valid IP address.',
'ipv4' => 'The :attribute must be a valid IPv4 address.',
'ipv6' => 'The :attribute must be a valid IPv6 address.',
'json' => 'The :attribute must be a valid JSON string.',
'max' => [
'numeric' => 'The :attribute may not be greater than :max.',
'file' => 'The :attribute may not be greater than :max kilobytes.',
'string' => 'The :attribute may not be greater than :max characters.',
'array' => 'The :attribute may not have more than :max items.',
],
'mimes' => 'The :attribute must be a file of type: :values.',
'mimetypes' => 'The :attribute must be a file of type: :values.',
'min' => [
'numeric' => 'The :attribute must be at least :min.',
'file' => 'The :attribute must be at least :min kilobytes.',
'string' => 'The :attribute must be at least :min characters.',
'array' => 'The :attribute must have at least :min items.',
],
'not_in' => 'The selected :attribute is invalid.',
'numeric' => 'The :attribute must be a number.',
'present' => 'The :attribute field must be present.',
'regex' => 'The :attribute format is invalid.',
'required' => 'The :attribute field is required.',
'required_if' => 'The :attribute field is required when :other is :value.',
'required_unless' => 'The :attribute field is required unless :other is in :values.',
'required_with' => 'The :attribute field is required when :values is present.',
'required_with_all' => 'The :attribute field is required when :values is present.',
'required_without' => 'The :attribute field is required when :values is not present.',
'required_without_all' => 'The :attribute field is required when none of :values are present.',
'same' => 'The :attribute and :other must match.',
'size' => [
'numeric' => 'The :attribute must be :size.',
'file' => 'The :attribute must be :size kilobytes.',
'string' => 'The :attribute must be :size characters.',
'array' => 'The :attribute must contain :size items.',
],
'string' => 'The :attribute must be a string.',
'timezone' => 'The :attribute must be a valid zone.',
'unique' => 'The :attribute has already been taken.',
'uploaded' => 'The :attribute failed to upload.',
'url' => 'The :attribute format is invalid.',
/*
|--------------------------------------------------------------------------
| Custom Validation Language Lines
|--------------------------------------------------------------------------
|
| Here you may specify custom validation messages for attributes using the
| convention "attribute.rule" to name the lines. This makes it quick to
| specify a specific custom language line for a given attribute rule.
|
*/
'custom' => [
'attribute-name' => [
'rule-name' => 'custom-message',
],
],
/*
|--------------------------------------------------------------------------
| Custom Validation Attributes
|--------------------------------------------------------------------------
|
| The following language lines are used to swap attribute place-holders
| with something more reader friendly such as E-Mail Address instead
| of "email". This simply helps us make messages a little cleaner.
|
*/
'attributes' => [],
];

View File

@ -0,0 +1,68 @@
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<div class="panel panel-default">
<div class="panel-heading">Login</div>
<div class="panel-body">
<form class="form-horizontal" method="POST" action="{{ route('login') }}">
{{ csrf_field() }}
<div class="form-group{{ $errors->has('email') ? ' has-error' : '' }}">
<label for="email" class="col-md-4 control-label">E-Mail Address</label>
<div class="col-md-6">
<input id="email" type="email" class="form-control" name="email" value="{{ old('email') }}" required autofocus>
@if ($errors->has('email'))
<span class="help-block">
<strong>{{ $errors->first('email') }}</strong>
</span>
@endif
</div>
</div>
<div class="form-group{{ $errors->has('password') ? ' has-error' : '' }}">
<label for="password" class="col-md-4 control-label">Password</label>
<div class="col-md-6">
<input id="password" type="password" class="form-control" name="password" required>
@if ($errors->has('password'))
<span class="help-block">
<strong>{{ $errors->first('password') }}</strong>
</span>
@endif
</div>
</div>
<div class="form-group">
<div class="col-md-6 col-md-offset-4">
<div class="checkbox">
<label>
<input type="checkbox" name="remember" {{ old('remember') ? 'checked' : '' }}> Remember Me
</label>
</div>
</div>
</div>
<div class="form-group">
<div class="col-md-8 col-md-offset-4">
<button type="submit" class="btn btn-primary">
Login
</button>
<a class="btn btn-link" href="{{ route('password.request') }}">
Forgot Your Password?
</a>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
@endsection

View File

@ -0,0 +1,46 @@
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<div class="panel panel-default">
<div class="panel-heading">Reset Password</div>
<div class="panel-body">
@if (session('status'))
<div class="alert alert-success">
{{ session('status') }}
</div>
@endif
<form class="form-horizontal" method="POST" action="{{ route('password.email') }}">
{{ csrf_field() }}
<div class="form-group{{ $errors->has('email') ? ' has-error' : '' }}">
<label for="email" class="col-md-4 control-label">E-Mail Address</label>
<div class="col-md-6">
<input id="email" type="email" class="form-control" name="email" value="{{ old('email') }}" required>
@if ($errors->has('email'))
<span class="help-block">
<strong>{{ $errors->first('email') }}</strong>
</span>
@endif
</div>
</div>
<div class="form-group">
<div class="col-md-6 col-md-offset-4">
<button type="submit" class="btn btn-primary">
Send Password Reset Link
</button>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
@endsection

View File

@ -0,0 +1,76 @@
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<div class="panel panel-default">
<div class="panel-heading">Reset Password</div>
<div class="panel-body">
@if (session('status'))
<div class="alert alert-success">
{{ session('status') }}
</div>
@endif
<form class="form-horizontal" method="POST" action="{{ route('password.request') }}">
{{ csrf_field() }}
<input type="hidden" name="token" value="{{ $token }}">
<div class="form-group{{ $errors->has('email') ? ' has-error' : '' }}">
<label for="email" class="col-md-4 control-label">E-Mail Address</label>
<div class="col-md-6">
<input id="email" type="email" class="form-control" name="email" value="{{ $email or old('email') }}" required autofocus>
@if ($errors->has('email'))
<span class="help-block">
<strong>{{ $errors->first('email') }}</strong>
</span>
@endif
</div>
</div>
<div class="form-group{{ $errors->has('password') ? ' has-error' : '' }}">
<label for="password" class="col-md-4 control-label">Password</label>
<div class="col-md-6">
<input id="password" type="password" class="form-control" name="password" required>
@if ($errors->has('password'))
<span class="help-block">
<strong>{{ $errors->first('password') }}</strong>
</span>
@endif
</div>
</div>
<div class="form-group{{ $errors->has('password_confirmation') ? ' has-error' : '' }}">
<label for="password-confirm" class="col-md-4 control-label">Confirm Password</label>
<div class="col-md-6">
<input id="password-confirm" type="password" class="form-control" name="password_confirmation" required>
@if ($errors->has('password_confirmation'))
<span class="help-block">
<strong>{{ $errors->first('password_confirmation') }}</strong>
</span>
@endif
</div>
</div>
<div class="form-group">
<div class="col-md-6 col-md-offset-4">
<button type="submit" class="btn btn-primary">
Reset Password
</button>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
@endsection

View File

@ -0,0 +1,76 @@
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<div class="panel panel-default">
<div class="panel-heading">Register</div>
<div class="panel-body">
<form class="form-horizontal" method="POST" action="{{ route('register') }}">
{{ csrf_field() }}
<div class="form-group{{ $errors->has('name') ? ' has-error' : '' }}">
<label for="name" class="col-md-4 control-label">Name</label>
<div class="col-md-6">
<input id="name" type="text" class="form-control" name="name" value="{{ old('name') }}" required autofocus>
@if ($errors->has('name'))
<span class="help-block">
<strong>{{ $errors->first('name') }}</strong>
</span>
@endif
</div>
</div>
<div class="form-group{{ $errors->has('email') ? ' has-error' : '' }}">
<label for="email" class="col-md-4 control-label">E-Mail Address</label>
<div class="col-md-6">
<input id="email" type="email" class="form-control" name="email" value="{{ old('email') }}" required>
@if ($errors->has('email'))
<span class="help-block">
<strong>{{ $errors->first('email') }}</strong>
</span>
@endif
</div>
</div>
<div class="form-group{{ $errors->has('password') ? ' has-error' : '' }}">
<label for="password" class="col-md-4 control-label">Password</label>
<div class="col-md-6">
<input id="password" type="password" class="form-control" name="password" required>
@if ($errors->has('password'))
<span class="help-block">
<strong>{{ $errors->first('password') }}</strong>
</span>
@endif
</div>
</div>
<div class="form-group">
<label for="password-confirm" class="col-md-4 control-label">Confirm Password</label>
<div class="col-md-6">
<input id="password-confirm" type="password" class="form-control" name="password_confirmation" required>
</div>
</div>
<div class="form-group">
<div class="col-md-6 col-md-offset-4">
<button type="submit" class="btn btn-primary">
Register
</button>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
@endsection

View File

@ -0,0 +1,87 @@
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-10 col-md-offset-1">
<div class="panel panel-default">
<div class="panel-heading">
<h3>
Bidder List
</h3>
</div>
<div class="panel-body">
@if($bidderlist_results)
<table align='center' class='table table-striped table-condensed table-hover table-bordered'>
<tr>
<th>
#:
</th>
<th>
Last Name:
</th>
<th>
First Name:
</th>
<th>
Address:
</th>
<th>
City:
</th>
<th>
State:
</th>
<th>
Zip:
</th>
<th>
Phone:
</th>
<th>
Email:
</th>
</tr>
@foreach($bidderlist_results as $bidderlist_result)
<tr>
<td>
{{ $bidderlist_result->bidder_assigned_number }}
</td>
<td>
{{ $bidderlist_result->bidder_lname }}
</td>
<td>
{{ $bidderlist_result->bidder_fname }}
</td>
<td>
{{ $bidderlist_result->bidder_addr }}
</td>
<td>
{{ $bidderlist_result->bidder_city }}
</td>
<td>
{{ $bidderlist_result->bidder_state }}
</td>
<td>
{{ $bidderlist_result->bidder_zip }}
</td>
<td>
{{ $bidderlist_result->bidder_phone }}
</td>
<td>
{{ $bidderlist_result->bidder_email }}
</td>
</tr>
@endforeach
</table>
@else
<h3>
No Bidders
</h3>
@endif
</div>
</div>
</div>
</div>
</div>
@endsection

View File

@ -0,0 +1,96 @@
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-10 col-md-offset-1">
<div class="panel panel-default">
<div class="panel-heading">Bidder Entry</div>
<div class="panel-body">
<form id="bidder_form" required method="post" action="/bidders" enctype="multipart/form-data" class=form-horizontal>
{{ csrf_field() }}
<div class=form-group>
<label for=biddernum class="col-sm-3 col-sm-offset-1 control-label">
Bidder Number:
</label>
<div class=col-sm-2>
<input type="text" name="biddernum" id="biddernum" required class=form-control />
</div>
</div>
<div class=form-group>
<label for=bidderfname class="col-sm-3 col-sm-offset-1 control-label">
First Name:
</label>
<div class=col-sm-4>
<input type="text" name="bidderfname" id="bidderfname" required class=form-control />
</div>
</div>
<div class=form-group>
<label for=bidderlname class="col-sm-3 col-sm-offset-1 control-label">
Last Name:
</label>
<div class=col-sm-4>
<input type="text" name="bidderlname" id="bidderlname" required class=form-control />
</div>
</div>
<div class=form-group>
<label for=bidderaddr class="col-sm-3 col-sm-offset-1 control-label">
Address:
</label>
<div class=col-sm-4>
<input type="text" name="bidderaddr" id="bidderaddr" required class=form-control />
</div>
</div>
<div class=form-group>
<label for=biddercity class="col-sm-3 col-sm-offset-1 control-label">
City:
</label>
<div class=col-sm-4>
<input type="text" name="biddercity" id="biddercity" required class=form-control />
</div>
</div>
<div class=form-group>
<label for=bidderstate class="col-sm-3 col-sm-offset-1 control-label">
State:
</label>
<div class=col-sm-2>
<input type="text" name="bidderstate" id="bidderstate" required class=form-control />
</div>
</div>
<div class=form-group>
<label for=bidderzip class="col-sm-3 col-sm-offset-1 control-label">
Zip:
</label>
<div class=col-sm-2>
<input type="text" name="bidderzip" id="bidderzip" required class=form-control />
</div>
</div>
<div class=form-group>
<label for=bidderphone class="col-sm-3 col-sm-offset-1 control-label">
Phone Number:
</label>
<div class=col-sm-4>
<input type="text" name="bidderphone" id="bidderphone" required class=form-control />
</div>
</div>
<div class=form-group>
<label for=bidderemail class="col-sm-3 col-sm-offset-1 control-label">
Email:
</label>
<div class=col-sm-4>
<input type="text" name="bidderemail" id="bidderemail" class=form-control />
</div>
</div>
<div class=form-group>
<div class="col-sm-offset-5 col-sm-10">
<button type="submit" value="Submit" class="btn btn-primary">Submit</button>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
@endsection

View File

@ -0,0 +1,120 @@
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-10 col-md-offset-1">
<div class="panel panel-default">
<div class="panel-heading">Checkout</div>
<div class="panel-body">
<form id="checkout_form" required method="post" action="/checkout" enctype="multipart/form-data" class=form-horizontal>
{{ csrf_field() }}
<table align='center' class='table table-striped table-condensed table-hover table-bordered'>
@foreach($checkout_info_results as $checkout_info_result)
@php
$bidnum = $checkout_info_result->idbidders;
$totaldue = $checkout_info_result->total_cost;
@endphp
<tr>
<th colspan="2">
<h2>
Bidder Number: {{ $checkout_info_result->bidder_assigned_number }}
</h2>
</th>
<th colspan="2">
<h2>
Total: ${{ $checkout_info_result->total_cost }}
</h2>
</th>
</tr>
<tr>
<th colspan="2">
Name: {{ $checkout_info_result->bidder_fname }} {{ $checkout_info_result->bidder_lname }}
</th>
<th colspan="2">
Phone Number: {{ $checkout_info_result->bidder_phone }}
</th>
</tr>
<tr>
<th>
Address: {{ $checkout_info_result->bidder_addr }}
</th>
<th>
City: {{ $checkout_info_result->bidder_city }}
</th>
<th>
State: {{ $checkout_info_result->bidder_state }}
</th>
<th>
Zip: {{ $checkout_info_result->bidder_zip }}
</th>
</tr>
@endforeach
</table>
@if($checkout_list_results)
<table align='center' class='table table-striped table-condensed table-hover table-bordered'>
<tr>
<th>
Item Number:
</th>
<th>
Winning Bid:
</th>
</tr>
@foreach($checkout_list_results as $checkout_list_result)
<tr>
<td>
{{ $checkout_list_result->item_assigned_num }}
</td>
<td>
${{ $checkout_list_result->winning_cost }}
</td>
</tr>
@endforeach
</table>
@else
<h3>
No Winning Bids
</h3>
@endif
<div class=form-group>
<label for=paymentmethod class="col-sm-3 col-sm-offset-1 control-label">
Payment Method:
</label>
<div class=col-sm-4>
<select name="checkout_payment_method" id="checkout_payment_method" required class=form-control>
<?php echo App\PaymentMethodSelectList::PaymentShowMethods(); ?>
</select>
</div>
</div>
<div class=form-group>
<label for=check_number class="col-sm-3 col-sm-offset-1 control-label">
Check Number:
</label>
<div class=col-sm-4>
<input type="text" name="check_number" id="check_number" class=form-control />
</div>
</div>
<div class=form-group>
<label for=cc_transaction class="col-sm-3 col-sm-offset-1 control-label">
Credit Card Transaction Number:
</label>
<div class=col-sm-4>
<input type="text" name="cc_transaction" id="cc_transaction" class=form-control />
</div>
</div>
<div class=form-group>
<div class="col-sm-offset-5 col-sm-10">
<button type="submit" value="Submit" class="btn btn-primary">Checkout</button>
</div>
</div>
<input type="hidden" name="winnertotal" value={{ $totaldue }}>
<input type="hidden" name="checkoutbiddernum" value={{ $bidnum }}>
</form>
</div>
</div>
</div>
</div>
</div>
@endsection

View File

@ -0,0 +1,134 @@
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-10 col-md-offset-1">
<div class="panel panel-default">
<div class="panel-heading">
Checkout Complete
</div>
<div class="panel-body">
<table align='center' class='table'>
<tr>
<th>
<h4>
St. John Catholic Church
<br>
Car Show Silent Auction
<br>
2099 N. Hacker Rd.
<br>
Howell, MI 48855
</h4>
</th>
<th align='right'>
<h2>
<a class="btn btn-primary" target=_blank href="receiptpdf?checkout_id={{$checkout_result }}" role="button">
Print Receipt
</a>
</h2>
</th>
</tr>
</table>
<table align='center' class='table table-striped table-condensed table-hover table-bordered'>
@foreach($checkout_info_results as $checkout_info_result)
<tr>
<th colspan="2">
<h4>
Bidder Number: {{ $checkout_info_result->bidder_assigned_number }}
</h4>
</th>
<th colspan="2">
<h4>
Total: ${{ $checkout_info_result->total_cost }}
</h4>
</th>
</tr>
<tr>
<th colspan="2">
Name: {{ $checkout_info_result->bidder_fname }} {{ $checkout_info_result->bidder_lname }}
</th>
<th colspan="2">
Phone Number: {{ $checkout_info_result->bidder_phone }}
</th>
</tr>
<tr>
<th>
Address: {{ $checkout_info_result->bidder_addr }}
</th>
<th>
City: {{ $checkout_info_result->bidder_city }}
</th>
<th>
State: {{ $checkout_info_result->bidder_state }}
</th>
<th>
Zip: {{ $checkout_info_result->bidder_zip }}
</th>
</tr>
@endforeach
</table>
@if($checkout_list_results)
<table align='center' class='table table-striped table-condensed table-hover table-bordered'>
<tr>
<th>
Item Number:
</th>
<th>
Item Description:
</th>
<th>
Winning Bid:
</th>
</tr>
@foreach($checkout_list_results as $checkout_list_result)
<tr>
<td>
{{ $checkout_list_result->item_assigned_num }}
</td>
<td>
{{ $checkout_list_result->item_desc }}
</td>
<td>
${{ $checkout_list_result->winning_cost }}
</td>
</tr>
@endforeach
</table>
@else
<h3>
No Winning Bids
</h3>
@endif
<table align='center' class='table table-striped table-condensed table-bordered'>
<tr>
<th>
<h4>
PAID
</h4>
</th>
<th>
@if($payment_method==1)
<h4>
CASH
</h4>
@elseif($payment_method==2)
<h4>
CHECK Number {{ $check_number }}
</h4>
@else
<h4>
CREDIT {{ $cc_transaction }}
</h4>
@endif
</th>
</tr>
</table>
</div>
</div>
</div>
</div>
</div>
@endsection

View File

@ -0,0 +1,103 @@
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-12">
<div class="panel panel-default">
<div class="panel-heading">
Checkouts Complete
</div>
<div class="panel-body">
@if($checkout_complete_results)
<table align='center' class='table table-striped table-condensed table-hover table-bordered'>
<tr>
<th>
#:
</th>
<th>
Last Name:
</th>
<th>
First Name:
</th>
<th>
Address:
</th>
<th>
City:
</th>
<th>
State:
</th>
<th>
Zip:
</th>
<th>
Phone:
</th>
<th>
Email:
</th>
<th>
Total:
</th>
<th>
Payment Method:
</th>
</tr>
@foreach($checkout_complete_results as $checkout_complete_result)
<tr>
<td>
{{ $checkout_complete_result->bidder_assigned_number }}
</td>
<td>
{{ $checkout_complete_result->bidder_lname }}
</td>
<td>
{{ $checkout_complete_result->bidder_fname }}
</td>
<td>
{{ $checkout_complete_result->bidder_addr }}
</td>
<td>
{{ $checkout_complete_result->bidder_city }}
</td>
<td>
{{ $checkout_complete_result->bidder_state }}
</td>
<td>
{{ $checkout_complete_result->bidder_zip }}
</td>
<td>
{{ $checkout_complete_result->bidder_phone }}
</td>
<td>
{{ $checkout_complete_result->bidder_email }}
</td>
<td>
${{ $checkout_complete_result->winnertotal }}
</td>
<td>
@if($checkout_complete_result->payment_method==1)
CASH
@elseif($checkout_complete_result->payment_method==2)
CHECK #{{ $checkout_complete_result->check_number }}
@else
CREDIT {{ $checkout_complete_result->cc_transaction }}
@endif
</td>
</tr>
@endforeach
</table>
@else
<h3>
No Completed Checkouts
</h3>
@endif
</div>
</div>
</div>
</div>
</div>
@endsection

View File

@ -0,0 +1,34 @@
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-10 col-md-offset-1">
<div class="panel panel-default">
<div class="panel-heading">Checkout</div>
<div class="panel-body">
<form id="checkout_selet_form" required method="post" action="/checkout" enctype="multipart/form-data" class=form-horizontal>
{{ csrf_field() }}
<div class=form-group>
<label for=checkoutbiddernum class="col-sm-3 col-sm-offset-1 control-label">
Select Bidder Number:
</label>
<div class=col-sm-4>
<select name="checkoutbiddernum" id="checkoutbiddernum" required class=form-control>
<?php echo App\WinningBidderSelectList::WinningBidderShowNumbers(); ?>
</select>
</div>
</div>
<div class=form-group>
<div class="col-sm-offset-5 col-sm-10">
<button type="submit" value="Submit" class="btn btn-primary">Submit</button>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
@endsection

View File

@ -0,0 +1,51 @@
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-10 col-md-offset-1">
<div class="panel panel-default">
<div class="panel-heading">Edit Winner Entry</div>
<div class="panel-body">
<form id="winner_form" required method="post" action="/editwinners" enctype="multipart/form-data" class=form-horizontal>
{{ csrf_field() }}
<div class=form-group>
<label for=winneritemnum class="col-sm-3 col-sm-offset-1 control-label">
Item Number:
</label>
<div class=col-sm-2>
<select name="winid" id="winid" required class=form-control>
<?php echo App\WinningBidSelectList::WinningBidShowNumbers(); ?>
</select>
</div>
</div>
<div class=form-group>
<label for=winnerbiddernum class="col-sm-3 col-sm-offset-1 control-label">
Bidder Number:
</label>
<div class=col-sm-2>
<select name="winnerbiddernum" id="winnerbiddernum" required class=form-control>
<?php echo App\BidderSelectList::BidderShowNumbers(); ?>
</select>
</div>
</div>
<div class=form-group>
<label for=winnerbid class="col-sm-3 col-sm-offset-1 control-label">
Winning Bid:
</label>
<div class=col-sm-4>
<input type="text" name="winnerbid" id="winnerbid" class=form-control />
</div>
</div>
<div class=form-group>
<div class="col-sm-offset-5 col-sm-10">
<button type="submit" value="Submit" class="btn btn-primary">Submit</button>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
@endsection

View File

@ -0,0 +1,91 @@
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-10 col-md-offset-1">
<div class="panel panel-default">
<div class="panel-heading">
Total for All Bidders
</div>
<div class="panel-body">
@if($finaltally_results)
<table align='center' class='table table-striped table-condensed table-hover table-bordered'>
<tr>
<th>
#:
</th>
<th>
Last Name:
</th>
<th>
First Name:
</th>
<th>
Address:
</th>
<th>
City:
</th>
<th>
State:
</th>
<th>
Zip:
</th>
<th>
Phone:
</th>
<th>
Email:
</th>
<th>
Total:
</th>
</tr>
@foreach($finaltally_results as $finaltally_result)
<tr>
<td>
{{ $finaltally_result->bidder_assigned_number }}
<td>
{{ $finaltally_result->bidder_lname }}
</td>
<td>
{{ $finaltally_result->bidder_fname }}
</td>
<td>
{{ $finaltally_result->bidder_addr }}
</td>
<td>
{{ $finaltally_result->bidder_city }}
</td>
<td>
{{ $finaltally_result->bidder_state }}
</td>
<td>
{{ $finaltally_result->bidder_zip }}
</td>
<td>
{{ $finaltally_result->bidder_phone }}
</td>
<td>
{{ $finaltally_result->bidder_email }}
</td>
<td>
${{ $finaltally_result->total_due }}
</td>
</tr>
@endforeach
</table>
@else
<h3>
No Bidders
</h3>
@endif
</div>
</div>
</div>
</div>
</div>
@endsection

View File

@ -0,0 +1,49 @@
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-10 col-md-offset-1">
<div class="panel panel-default">
<div class="panel-heading">
<h3>
Dashboard
</h3>
</div>
<div class="panel-body">
<table align='center' class='table table-striped table-condensed table-hover table-bordered'>
<tr>
<th>
Total Items:
</th>
<th>
Total Bidders:
</th>
<th>
Winners Entered:
</th>
</tr>
<tr>
<td>
@foreach($item_count_result as $item_count_result)
{{ $item_count_result->item_count }}
@endforeach
</td>
<td>
@foreach($bidder_count_result as $bidder_count_result)
{{ $bidder_count_result->bidder_count }}
@endforeach
</td>
<td>
@foreach($winner_count_result as $winner_count_result)
{{ $winner_count_result->winner_count }}
@endforeach
</td>
</tr>
</table>
</div>
</div>
</div>
</div>
</div>
@endsection

View File

@ -0,0 +1,57 @@
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-10 col-md-offset-1">
<div class="panel panel-default">
<div class="panel-heading">
<h3>
Item List
</h3>
</div>
<div class="panel-body">
@if($itemlist_results)
<table align='center' class='table table-striped table-condensed table-hover table-bordered'>
<tr>
<th>
Number:
</th>
<th>
Description:
</th>
<th>
Est. Value:
</th>
<th>
Min Bid:
</th>
</tr>
@foreach($itemlist_results as $itemlist_result)
<tr>
<td>
{{ $itemlist_result->item_assigned_num }}
</td>
<td>
{{ $itemlist_result->item_desc }}
</td>
<td>
${{ $itemlist_result->item_est_value }}
</td>
<td>
${{ $itemlist_result->item_min_bid }}
</td>
</tr>
@endforeach
</table>
@else
<h3>
No Items
</h3>
@endif
</div>
</div>
</div>
</div>
</div>
@endsection

View File

@ -0,0 +1,56 @@
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-10 col-md-offset-1">
<div class="panel panel-default">
<div class="panel-heading">Item Entry</div>
<div class="panel-body">
<form id="item_form" required method="post" action="/items" enctype="multipart/form-data" class=form-horizontal>
{{ csrf_field() }}
<div class=form-group>
<label for=itemnum class="col-sm-3 col-sm-offset-1 control-label">
Item Number:
</label>
<div class=col-sm-2>
<input type="text" name="itemnum" id="itemnum" class=form-control />
</div>
</div>
<div class=form-group>
<label for=itemdesc class="col-sm-3 col-sm-offset-1 control-label">
Description:
</label>
<div class=col-sm-4>
<textarea name="itemdesc" id="itemdesc" cols="40" rows="5" class=form-control></textarea>
</div>
</div>
<div class=form-group>
<label for=itemminbid class="col-sm-3 col-sm-offset-1 control-label">
Minimum Bid:
</label>
<div class=col-sm-4>
<input type="text" name="itemminbid" id="itemminbid" class=form-control />
</div>
</div>
<div class=form-group>
<label for=itemestvalue class="col-sm-3 col-sm-offset-1 control-label">
Estimated Value:
</label>
<div class=col-sm-4>
<input type="text" name="itemestvalue" id="itemestvalue" class=form-control />
</div>
</div>
<div class=form-group>
<div class="col-sm-offset-5 col-sm-10">
<button type="submit" value="Submit" class="btn btn-primary">Submit</button>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
@endsection

View File

@ -0,0 +1,184 @@
<!DOCTYPE html>
<html lang="{{ app()->getLocale() }}">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- CSRF Token -->
<meta name="csrf-token" content="{{ csrf_token() }}">
<title>{{ config('app.name', 'Laravel') }}</title>
<!-- Styles -->
<link href="{{ asset('css/app.css') }}" rel="stylesheet">
</head>
<body>
<div id="app">
<nav class="navbar navbar-default navbar-static-top">
<div class="container">
<div class="navbar-header">
<!-- Collapsed Hamburger -->
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#app-navbar-collapse">
<span class="sr-only">Toggle Navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<!-- Branding Image -->
<a class="navbar-brand" href="{{ url('/') }}">
{{ config('app.name', 'Laravel') }}
</a>
</div>
<div class="collapse navbar-collapse" id="app-navbar-collapse">
<!-- Left Side Of Navbar -->
<ul class="nav navbar-nav">
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
Bidders
<span class="caret">
</span>
</a>
<ul class="dropdown-menu">
<li>
<a href="/bidders">
Add Bidder
</a>
</li>
<li>
<a href="/bidderlist">
List Bidders
</a>
</li>
</ul>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
Items
<span class="caret">
</span>
</a>
<ul class="dropdown-menu">
<li>
<a href="/items">
Add Item
</a>
</li>
<li>
<a href="/itemlist">
List Items
</a>
</li>
</ul>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
Winners
<span class="caret">
</span>
</a>
<ul class="dropdown-menu">
<li>
<a href="/winners">
Add Winner
</a>
</li>
<li>
<a href="/editwinners">
Edit Winner
</a>
</li>
<li>
<a href="/winnerlist">
List Winners
</a>
</li>
<li>
<a href="/winnersbyitem">
Winners by Item
</a>
</li>
</ul>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
Reports
<span class="caret">
</span>
</a>
<ul class="dropdown-menu">
<li>
<a href="/bidderlist">
Bidders
</a>
</li>
<li>
<a href="/checkout_complete_list">
Completed Checkouts
</a>
</li>
<li>
<a href="/itemlist">
Items
</a>
</li>
<li>
<a href="/winnerlist">
Winners
</a>
</li>
</ul>
</li>
<li>
<a href="/reprint_receipt">
Re-Print Reciept
</a>
</li>
<li>
<a href="/checkout">
Checkout Bidder
</a>
</li>
</ul>
<!-- Right Side Of Navbar -->
<ul class="nav navbar-nav navbar-right">
<!-- Authentication Links -->
@if (Auth::guest())
<li><a href="{{ route('login') }}">Login</a></li>
@else
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
{{ Auth::user()->name }} <span class="caret"></span>
</a>
<ul class="dropdown-menu" role="menu">
<li>
<a href="{{ route('logout') }}"
onclick="event.preventDefault();
document.getElementById('logout-form').submit();">
Logout
</a>
<form id="logout-form" action="{{ route('logout') }}" method="POST" style="display: none;">
{{ csrf_field() }}
</form>
</li>
</ul>
</li>
@endif
</ul>
</div>
</div>
</nav>
@yield('content')
</div>
<!-- Scripts -->
<script src="{{ asset('js/app.js') }}"></script>
</body>
</html>

View File

@ -0,0 +1,34 @@
<!DOCTYPE html>
<html lang="{{ app()->getLocale() }}">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- CSRF Token -->
<meta name="csrf-token" content="{{ csrf_token() }}">
<title>{{ config('app.name', 'Laravel') }}</title>
<!-- Styles -->
<link href="{{ asset('css/pdf.css') }}" rel="stylesheet">
<style>
.page-break {
page-break-after: always;
}
body{
background-color: #ffffff;
}
</style>
</head>
<body>
<div id="app">
@yield('content')
</div>
<!-- Scripts -->
<script src="{{ asset('js/app.js') }}"></script>
</body>
</html>

View File

@ -0,0 +1,25 @@
<!DOCTYPE html>
<html lang="{{ app()->getLocale() }}">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- CSRF Token -->
<meta name="csrf-token" content="{{ csrf_token() }}">
<title>{{ config('app.name', 'Laravel') }}</title>
<!-- Styles -->
<link href="{{ asset('css/app.css') }}" rel="stylesheet">
</head>
<body>
<div id="app">
<div class="container">
@yield('content')
</div>
</div>
<!-- Scripts -->
<script src="{{ asset('js/app.js') }}"></script>
</body>
</html>

View File

@ -0,0 +1,207 @@
@extends('layouts.pdf')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-10 col-md-offset-1">
<div class="panel panel-default">
<div class="panel-body">
<table align='center' class='table'>
<tr>
<th>
<h4>
St. John Catholic Church
<br>
Car Show Silent Auction
<br>
2099 N. Hacker Rd.
<br>
Howell, MI 48855
</h4>
</th>
<th align='right'>
<p>
{{ \Carbon\Carbon::now()->format('m/d/Y') }}
</p>
<br>
<h4>
Receipt
</h4>
</th>
</tr>
</table>
<table align='center' class='table table-condensed'>
@foreach($checkout_info_results as $checkout_info_result)
<tr>
<th colspan="2">
<h4>
Bidder Number: {{ $checkout_info_result->bidder_assigned_number }}
</h4>
</th>
<th colspan="2">
<h4>
Total: ${{ $checkout_info_result->total_cost }}
</h4>
</th>
</tr>
<tr>
<td colspan="2">
Name: {{ $checkout_info_result->bidder_fname }} {{ $checkout_info_result->bidder_lname }}
</td>
<td colspan="2">
Phone Number: {{ $checkout_info_result->bidder_phone }}
</td>
</tr>
<tr>
<td>
Address: {{ $checkout_info_result->bidder_addr }}
</td>
<td>
City: {{ $checkout_info_result->bidder_city }} &ensp;
</td>
<td>
State: {{ $checkout_info_result->bidder_state }}
</td>
<td>
Zip: {{ $checkout_info_result->bidder_zip }}
</td>
</tr>
@endforeach
</table>
@if($checkout_list_results)
<table align='center' class='table table-striped table-condensed table-hover table-bordered'>
<tr>
<th>
Item Number:
</th>
<th>
Item Description:
</th>
<th>
Winning Bid:
</th>
</tr>
@foreach($checkout_list_results as $checkout_list_result)
<tr>
<td>
{{ $checkout_list_result->item_assigned_num }}
</td>
<td>
{{ $checkout_list_result->item_desc }}
</td>
<td>
${{ $checkout_list_result->winning_cost }}
</td>
</tr>
@endforeach
</table>
@else
<h3>
No Winning Bids
</h3>
@endif
<table align='center' class='table table-striped table-condensed'>
<tr>
<th>
<h4>
PAID
</h4>
</th>
<th>
@foreach($checkout_final_results as $checkout_final_result)
@if($checkout_final_result->payment_method==1)
<h4>
CASH
</h4>
@elseif($checkout_final_result->payment_method==2)
<h4>
CHECK Number {{ $checkout_final_result->check_number }}
</h4>
@else
<h4>
CREDIT {{ $checkout_final_result->cc_transaction }}
</h4>
@endif
@endforeach
</th>
</tr>
</table>
</div>
</div>
</div>
</div>
<div class="page-break">
</div>
<div class="row">
<div class="col-md-10 col-md-offset-1">
<div class="panel panel-default">
<div class="panel-heading">
<h1>
ITEM PICKUP LIST
</h1>
</div>
<div class="panel-body">
<table align='center' class='table table-condensed'>
@foreach($checkout_info_results as $checkout_info_result)
<tr>
<th colspan="2">
<h4>
Bidder Number: {{ $checkout_info_result->bidder_assigned_number }}
</h4>
</th>
<th colspan="2">
<h4>
Total: ${{ $checkout_info_result->total_cost }}
</h4>
</th>
</tr>
<tr>
<th colspan="2">
Name: {{ $checkout_info_result->bidder_fname }} {{ $checkout_info_result->bidder_lname }}
</th>
</tr>
@endforeach
</table>
@if($checkout_list_results)
<table align='center' class='table table-striped table-condensed table-hover table-bordered'>
<tr>
<th>
Item Number:
</th>
<th>
Item Description:
</th>
<th>
Winning Bid:
</th>
<th>
Picked up?
</th>
</tr>
@foreach($checkout_list_results as $checkout_list_result)
<tr>
<td>
{{ $checkout_list_result->item_assigned_num }}
</td>
<td>
{{ $checkout_list_result->item_desc }}
</td>
<td>
${{ $checkout_list_result->winning_cost }}
</td>
<td>
</td>
</tr>
@endforeach
</table>
@else
<h3>
No Winning Bids
</h3>
@endif
</div>
</div>
</div>
</div>
</div>
@endsection

View File

@ -0,0 +1,207 @@
@extends('layouts.pdf')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-10">
<div class="panel panel-default">
<div class="panel-body">
<table align='center' class='table'>
<tr>
<th>
<h4>
St. John Catholic Church
<br>
Car Show Silent Auction
<br>
2099 N. Hacker Rd.
<br>
Howell, MI 48855
</h4>
</th>
<th align='right'>
<p>
{{ \Carbon\Carbon::now()->format('m/d/Y') }}
</p>
<br>
<h4>
Receipt
</h4>
</th>
</tr>
</table>
<table align='center' class='table table-condensed'>
@foreach($checkout_info_results as $checkout_info_result)
<tr>
<th colspan="2">
<h4>
Bidder Number: {{ $checkout_info_result->bidder_assigned_number }}
</h4>
</th>
<th colspan="2">
<h4>
Total: ${{ $checkout_info_result->total_cost }}
</h4>
</th>
</tr>
<tr>
<td colspan="2">
Name: {{ $checkout_info_result->bidder_fname }} {{ $checkout_info_result->bidder_lname }}
</td>
<td colspan="2">
Phone Number: {{ $checkout_info_result->bidder_phone }}
</td>
</tr>
<tr>
<td>
Address: {{ $checkout_info_result->bidder_addr }}
</td>
<td>
City: {{ $checkout_info_result->bidder_city }} &ensp;
</td>
<td>
State: {{ $checkout_info_result->bidder_state }}
</td>
<td>
Zip: {{ $checkout_info_result->bidder_zip }}
</td>
</tr>
@endforeach
</table>
@if($checkout_list_results)
<table align='center' class='table table-striped table-condensed table-hover'>
<tr>
<th>
Item Number:
</th>
<th>
Item Description:
</th>
<th>
Winning Bid:
</th>
</tr>
@foreach($checkout_list_results as $checkout_list_result)
<tr>
<td>
{{ $checkout_list_result->item_assigned_num }}
</td>
<td>
{{ $checkout_list_result->item_desc }}
</td>
<td>
${{ $checkout_list_result->winning_cost }}
</td>
</tr>
@endforeach
</table>
@else
<h3>
No Winning Bids
</h3>
@endif
<table align='center' class='table table-striped table-condensed'>
<tr>
<th>
<h4>
PAID
</h4>
</th>
<th>
@foreach($checkout_final_results as $checkout_final_result)
@if($checkout_final_result->payment_method==1)
<h4>
CASH
</h4>
@elseif($checkout_final_result->payment_method==2)
<h4>
CHECK Number {{ $checkout_final_result->check_number }}
</h4>
@else
<h4>
CREDIT {{ $checkout_final_result->cc_transaction }}
</h4>
@endif
@endforeach
</th>
</tr>
</table>
</div>
</div>
</div>
</div>
<div class="page-break">
</div>
<div class="row">
<div class="col-md-10 col-md-offset-1">
<div class="panel panel-default">
<div class="panel-heading">
<h1>
ITEM PICKUP LIST
</h1>
</div>
<div class="panel-body">
<table align='center' class='table table-condensed'>
@foreach($checkout_info_results as $checkout_info_result)
<tr>
<th colspan="2">
<h4>
Bidder Number: {{ $checkout_info_result->bidder_assigned_number }}
</h4>
</th>
<th colspan="2">
<h4>
Total: ${{ $checkout_info_result->total_cost }}
</h4>
</th>
</tr>
<tr>
<th colspan="2">
Name: {{ $checkout_info_result->bidder_fname }} {{ $checkout_info_result->bidder_lname }}
</th>
</tr>
@endforeach
</table>
@if($checkout_list_results)
<table align='center' class='table table-striped table-condensed table-hover'>
<tr>
<th>
Item Number:
</th>
<th>
Item Description:
</th>
<th>
Winning Bid:
</th>
<th>
Picked up?
</th>
</tr>
@foreach($checkout_list_results as $checkout_list_result)
<tr>
<td>
{{ $checkout_list_result->item_assigned_num }}
</td>
<td>
{{ $checkout_list_result->item_desc }}
</td>
<td>
${{ $checkout_list_result->winning_cost }}
</td>
<td>
</td>
</tr>
@endforeach
</table>
@else
<h3>
No Winning Bids
</h3>
@endif
</div>
</div>
</div>
</div>
</div>
@endsection

View File

@ -0,0 +1,34 @@
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-10 col-md-offset-1">
<div class="panel panel-default">
<div class="panel-heading">Re-Print Receipt and Pick List</div>
<div class="panel-body">
<form id="reprint_receipt_select_form" required method="post" action="/reprint_receipt" enctype="multipart/form-data" class=form-horizontal>
{{ csrf_field() }}
<div class=form-group>
<label for=reprintbiddernum class="col-sm-3 col-sm-offset-1 control-label">
Select Bidder Number:
</label>
<div class=col-sm-4>
<select name="reprintbiddernum" id="checkoutbiddernum" required class=form-control>
<?php echo App\CheckoutBidderSelectList::CheckoutBidderShowNumbers(); ?>
</select>
</div>
</div>
<div class=form-group>
<div class="col-sm-offset-5 col-sm-10">
<button type="submit" value="Submit" class="btn btn-primary">Submit</button>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
@endsection

View File

@ -0,0 +1,19 @@
<table class="action" align="center" width="100%" cellpadding="0" cellspacing="0">
<tr>
<td align="center">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="center">
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<a href="{{ $url }}" class="button button-{{ $color or 'blue' }}" target="_blank">{{ $slot }}</a>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>

View File

@ -0,0 +1,11 @@
<tr>
<td>
<table class="footer" align="center" width="570" cellpadding="0" cellspacing="0">
<tr>
<td class="content-cell" align="center">
{{ Illuminate\Mail\Markdown::parse($slot) }}
</td>
</tr>
</table>
</td>
</tr>

View File

@ -0,0 +1,7 @@
<tr>
<td class="header">
<a href="{{ $url }}">
{{ $slot }}
</a>
</td>
</tr>

View File

@ -0,0 +1,54 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
<body>
<style>
@media only screen and (max-width: 600px) {
.inner-body {
width: 100% !important;
}
.footer {
width: 100% !important;
}
}
@media only screen and (max-width: 500px) {
.button {
width: 100% !important;
}
}
</style>
<table class="wrapper" width="100%" cellpadding="0" cellspacing="0">
<tr>
<td align="center">
<table class="content" width="100%" cellpadding="0" cellspacing="0">
{{ $header or '' }}
<!-- Email Body -->
<tr>
<td class="body" width="100%" cellpadding="0" cellspacing="0">
<table class="inner-body" align="center" width="570" cellpadding="0" cellspacing="0">
<!-- Body content -->
<tr>
<td class="content-cell">
{{ Illuminate\Mail\Markdown::parse($slot) }}
{{ $subcopy or '' }}
</td>
</tr>
</table>
</td>
</tr>
{{ $footer or '' }}
</table>
</td>
</tr>
</table>
</body>
</html>

View File

@ -0,0 +1,27 @@
@component('mail::layout')
{{-- Header --}}
@slot('header')
@component('mail::header', ['url' => config('app.url')])
{{ config('app.name') }}
@endcomponent
@endslot
{{-- Body --}}
{{ $slot }}
{{-- Subcopy --}}
@isset($subcopy)
@slot('subcopy')
@component('mail::subcopy')
{{ $subcopy }}
@endcomponent
@endslot
@endisset
{{-- Footer --}}
@slot('footer')
@component('mail::footer')
&copy; {{ date('Y') }} {{ config('app.name') }}. All rights reserved.
@endcomponent
@endslot
@endcomponent

View File

@ -0,0 +1,13 @@
<table class="panel" width="100%" cellpadding="0" cellspacing="0">
<tr>
<td class="panel-content">
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td class="panel-item">
{{ Illuminate\Mail\Markdown::parse($slot) }}
</td>
</tr>
</table>
</td>
</tr>
</table>

View File

@ -0,0 +1,7 @@
<table class="promotion" align="center" width="100%" cellpadding="0" cellspacing="0">
<tr>
<td align="center">
{{ Illuminate\Mail\Markdown::parse($slot) }}
</td>
</tr>
</table>

View File

@ -0,0 +1,13 @@
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="center">
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<a href="{{ $url }}" class="button button-green" target="_blank">{{ $slot }}</a>
</td>
</tr>
</table>
</td>
</tr>
</table>

View File

@ -0,0 +1,7 @@
<table class="subcopy" width="100%" cellpadding="0" cellspacing="0">
<tr>
<td>
{{ Illuminate\Mail\Markdown::parse($slot) }}
</td>
</tr>
</table>

View File

@ -0,0 +1,3 @@
<div class="table">
{{ Illuminate\Mail\Markdown::parse($slot) }}
</div>

View File

@ -0,0 +1,287 @@
/* Base */
body, body *:not(html):not(style):not(br):not(tr):not(code) {
font-family: Avenir, Helvetica, sans-serif;
box-sizing: border-box;
}
body {
background-color: #f5f8fa;
color: #74787E;
height: 100%;
hyphens: auto;
line-height: 1.4;
margin: 0;
-moz-hyphens: auto;
-ms-word-break: break-all;
width: 100% !important;
-webkit-hyphens: auto;
-webkit-text-size-adjust: none;
word-break: break-all;
word-break: break-word;
}
p,
ul,
ol,
blockquote {
line-height: 1.4;
text-align: left;
}
a {
color: #3869D4;
}
a img {
border: none;
}
/* Typography */
h1 {
color: #2F3133;
font-size: 19px;
font-weight: bold;
margin-top: 0;
text-align: left;
}
h2 {
color: #2F3133;
font-size: 16px;
font-weight: bold;
margin-top: 0;
text-align: left;
}
h3 {
color: #2F3133;
font-size: 14px;
font-weight: bold;
margin-top: 0;
text-align: left;
}
p {
color: #74787E;
font-size: 16px;
line-height: 1.5em;
margin-top: 0;
text-align: left;
}
p.sub {
font-size: 12px;
}
img {
max-width: 100%;
}
/* Layout */
.wrapper {
background-color: #f5f8fa;
margin: 0;
padding: 0;
width: 100%;
-premailer-cellpadding: 0;
-premailer-cellspacing: 0;
-premailer-width: 100%;
}
.content {
margin: 0;
padding: 0;
width: 100%;
-premailer-cellpadding: 0;
-premailer-cellspacing: 0;
-premailer-width: 100%;
}
/* Header */
.header {
padding: 25px 0;
text-align: center;
}
.header a {
color: #bbbfc3;
font-size: 19px;
font-weight: bold;
text-decoration: none;
text-shadow: 0 1px 0 white;
}
/* Body */
.body {
background-color: #FFFFFF;
border-bottom: 1px solid #EDEFF2;
border-top: 1px solid #EDEFF2;
margin: 0;
padding: 0;
width: 100%;
-premailer-cellpadding: 0;
-premailer-cellspacing: 0;
-premailer-width: 100%;
}
.inner-body {
background-color: #FFFFFF;
margin: 0 auto;
padding: 0;
width: 570px;
-premailer-cellpadding: 0;
-premailer-cellspacing: 0;
-premailer-width: 570px;
}
/* Subcopy */
.subcopy {
border-top: 1px solid #EDEFF2;
margin-top: 25px;
padding-top: 25px;
}
.subcopy p {
font-size: 12px;
}
/* Footer */
.footer {
margin: 0 auto;
padding: 0;
text-align: center;
width: 570px;
-premailer-cellpadding: 0;
-premailer-cellspacing: 0;
-premailer-width: 570px;
}
.footer p {
color: #AEAEAE;
font-size: 12px;
text-align: center;
}
/* Tables */
.table table {
margin: 30px auto;
width: 100%;
-premailer-cellpadding: 0;
-premailer-cellspacing: 0;
-premailer-width: 100%;
}
.table th {
border-bottom: 1px solid #EDEFF2;
padding-bottom: 8px;
margin: 0;
}
.table td {
color: #74787E;
font-size: 15px;
line-height: 18px;
padding: 10px 0;
margin: 0;
}
.content-cell {
padding: 35px;
}
/* Buttons */
.action {
margin: 30px auto;
padding: 0;
text-align: center;
width: 100%;
-premailer-cellpadding: 0;
-premailer-cellspacing: 0;
-premailer-width: 100%;
}
.button {
border-radius: 3px;
box-shadow: 0 2px 3px rgba(0, 0, 0, 0.16);
color: #FFF;
display: inline-block;
text-decoration: none;
-webkit-text-size-adjust: none;
}
.button-blue {
background-color: #3097D1;
border-top: 10px solid #3097D1;
border-right: 18px solid #3097D1;
border-bottom: 10px solid #3097D1;
border-left: 18px solid #3097D1;
}
.button-green {
background-color: #2ab27b;
border-top: 10px solid #2ab27b;
border-right: 18px solid #2ab27b;
border-bottom: 10px solid #2ab27b;
border-left: 18px solid #2ab27b;
}
.button-red {
background-color: #bf5329;
border-top: 10px solid #bf5329;
border-right: 18px solid #bf5329;
border-bottom: 10px solid #bf5329;
border-left: 18px solid #bf5329;
}
/* Panels */
.panel {
margin: 0 0 21px;
}
.panel-content {
background-color: #EDEFF2;
padding: 16px;
}
.panel-item {
padding: 0;
}
.panel-item p:last-of-type {
margin-bottom: 0;
padding-bottom: 0;
}
/* Promotions */
.promotion {
background-color: #FFFFFF;
border: 2px dashed #9BA2AB;
margin: 0;
margin-bottom: 25px;
margin-top: 25px;
padding: 24px;
width: 100%;
-premailer-cellpadding: 0;
-premailer-cellspacing: 0;
-premailer-width: 100%;
}
.promotion h1 {
text-align: center;
}
.promotion p {
font-size: 15px;
text-align: center;
}

View File

@ -0,0 +1 @@
{{ $slot }}: {{ $url }}

View File

@ -0,0 +1 @@
{{ $slot }}

View File

@ -0,0 +1 @@
[{{ $slot }}]({{ $url }})

View File

@ -0,0 +1,9 @@
{!! strip_tags($header) !!}
{!! strip_tags($slot) !!}
@isset($subcopy)
{!! strip_tags($subcopy) !!}
@endisset
{!! strip_tags($footer) !!}

View File

@ -0,0 +1,27 @@
@component('mail::layout')
{{-- Header --}}
@slot('header')
@component('mail::header', ['url' => config('app.url')])
{{ config('app.name') }}
@endcomponent
@endslot
{{-- Body --}}
{{ $slot }}
{{-- Subcopy --}}
@isset($subcopy)
@slot('subcopy')
@component('mail::subcopy')
{{ $subcopy }}
@endcomponent
@endslot
@endisset
{{-- Footer --}}
@slot('footer')
@component('mail::footer')
© {{ date('Y') }} {{ config('app.name') }}. All rights reserved.
@endcomponent
@endslot
@endcomponent

View File

@ -0,0 +1 @@
{{ $slot }}

View File

@ -0,0 +1 @@
{{ $slot }}

View File

@ -0,0 +1 @@
[{{ $slot }}]({{ $url }})

View File

@ -0,0 +1 @@
{{ $slot }}

View File

@ -0,0 +1 @@
{{ $slot }}

View File

@ -0,0 +1,58 @@
@component('mail::message')
{{-- Greeting --}}
@if (! empty($greeting))
# {{ $greeting }}
@else
@if ($level == 'error')
# Whoops!
@else
# Hello!
@endif
@endif
{{-- Intro Lines --}}
@foreach ($introLines as $line)
{{ $line }}
@endforeach
{{-- Action Button --}}
@isset($actionText)
<?php
switch ($level) {
case 'success':
$color = 'green';
break;
case 'error':
$color = 'red';
break;
default:
$color = 'blue';
}
?>
@component('mail::button', ['url' => $actionUrl, 'color' => $color])
{{ $actionText }}
@endcomponent
@endisset
{{-- Outro Lines --}}
@foreach ($outroLines as $line)
{{ $line }}
@endforeach
{{-- Salutation --}}
@if (! empty($salutation))
{{ $salutation }}
@else
Regards,<br>{{ config('app.name') }}
@endif
{{-- Subcopy --}}
@isset($actionText)
@component('mail::subcopy')
If youre having trouble clicking the "{{ $actionText }}" button, copy and paste the URL below
into your web browser: [{{ $actionUrl }}]({{ $actionUrl }})
@endcomponent
@endisset
@endcomponent

View File

@ -0,0 +1,36 @@
@if ($paginator->hasPages())
<ul class="pagination">
{{-- Previous Page Link --}}
@if ($paginator->onFirstPage())
<li class="page-item disabled"><span class="page-link">&laquo;</span></li>
@else
<li class="page-item"><a class="page-link" href="{{ $paginator->previousPageUrl() }}" rel="prev">&laquo;</a></li>
@endif
{{-- Pagination Elements --}}
@foreach ($elements as $element)
{{-- "Three Dots" Separator --}}
@if (is_string($element))
<li class="page-item disabled"><span class="page-link">{{ $element }}</span></li>
@endif
{{-- Array Of Links --}}
@if (is_array($element))
@foreach ($element as $page => $url)
@if ($page == $paginator->currentPage())
<li class="page-item active"><span class="page-link">{{ $page }}</span></li>
@else
<li class="page-item"><a class="page-link" href="{{ $url }}">{{ $page }}</a></li>
@endif
@endforeach
@endif
@endforeach
{{-- Next Page Link --}}
@if ($paginator->hasMorePages())
<li class="page-item"><a class="page-link" href="{{ $paginator->nextPageUrl() }}" rel="next">&raquo;</a></li>
@else
<li class="page-item disabled"><span class="page-link">&raquo;</span></li>
@endif
</ul>
@endif

View File

@ -0,0 +1,36 @@
@if ($paginator->hasPages())
<ul class="pagination">
{{-- Previous Page Link --}}
@if ($paginator->onFirstPage())
<li class="disabled"><span>&laquo;</span></li>
@else
<li><a href="{{ $paginator->previousPageUrl() }}" rel="prev">&laquo;</a></li>
@endif
{{-- Pagination Elements --}}
@foreach ($elements as $element)
{{-- "Three Dots" Separator --}}
@if (is_string($element))
<li class="disabled"><span>{{ $element }}</span></li>
@endif
{{-- Array Of Links --}}
@if (is_array($element))
@foreach ($element as $page => $url)
@if ($page == $paginator->currentPage())
<li class="active"><span>{{ $page }}</span></li>
@else
<li><a href="{{ $url }}">{{ $page }}</a></li>
@endif
@endforeach
@endif
@endforeach
{{-- Next Page Link --}}
@if ($paginator->hasMorePages())
<li><a href="{{ $paginator->nextPageUrl() }}" rel="next">&raquo;</a></li>
@else
<li class="disabled"><span>&raquo;</span></li>
@endif
</ul>
@endif

View File

@ -0,0 +1,36 @@
@if ($paginator->hasPages())
<div class="ui pagination menu">
{{-- Previous Page Link --}}
@if ($paginator->onFirstPage())
<a class="icon item disabled"> <i class="left chevron icon"></i> </a>
@else
<a class="icon item" href="{{ $paginator->previousPageUrl() }}" rel="prev"> <i class="left chevron icon"></i> </a>
@endif
{{-- Pagination Elements --}}
@foreach ($elements as $element)
{{-- "Three Dots" Separator --}}
@if (is_string($element))
<a class="icon item disabled">{{ $element }}</a>
@endif
{{-- Array Of Links --}}
@if (is_array($element))
@foreach ($element as $page => $url)
@if ($page == $paginator->currentPage())
<a class="item active" href="{{ $url }}">{{ $page }}</a>
@else
<a class="item" href="{{ $url }}">{{ $page }}</a>
@endif
@endforeach
@endif
@endforeach
{{-- Next Page Link --}}
@if ($paginator->hasMorePages())
<a class="icon item" href="{{ $paginator->nextPageUrl() }}" rel="next"> <i class="right chevron icon"></i> </a>
@else
<a class="icon item disabled"> <i class="right chevron icon"></i> </a>
@endif
</div>
@endif

View File

@ -0,0 +1,17 @@
@if ($paginator->hasPages())
<ul class="pagination">
{{-- Previous Page Link --}}
@if ($paginator->onFirstPage())
<li class="page-item disabled"><span class="page-link">@lang('pagination.previous')</span></li>
@else
<li class="page-item"><a class="page-link" href="{{ $paginator->previousPageUrl() }}" rel="prev">@lang('pagination.previous')</a></li>
@endif
{{-- Next Page Link --}}
@if ($paginator->hasMorePages())
<li class="page-item"><a class="page-link" href="{{ $paginator->nextPageUrl() }}" rel="next">@lang('pagination.next')</a></li>
@else
<li class="page-item disabled"><span class="page-link">@lang('pagination.next')</span></li>
@endif
</ul>
@endif

View File

@ -0,0 +1,17 @@
@if ($paginator->hasPages())
<ul class="pagination">
{{-- Previous Page Link --}}
@if ($paginator->onFirstPage())
<li class="disabled"><span>@lang('pagination.previous')</span></li>
@else
<li><a href="{{ $paginator->previousPageUrl() }}" rel="prev">@lang('pagination.previous')</a></li>
@endif
{{-- Next Page Link --}}
@if ($paginator->hasMorePages())
<li><a href="{{ $paginator->nextPageUrl() }}" rel="next">@lang('pagination.next')</a></li>
@else
<li class="disabled"><span>@lang('pagination.next')</span></li>
@endif
</ul>
@endif

View File

@ -0,0 +1,17 @@
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-10 col-md-offset-1">
<div class="panel panel-default">
<div class="panel-heading">Dashboard</div>
<div class="panel-body">
Wallboard Page
</div>
</div>
</div>
</div>
</div>
@endsection

View File

@ -0,0 +1,39 @@
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-10 col-md-offset-1">
<div class="panel panel-default">
<div class="panel-heading">Winning Bidders</div>
<div class="panel-body">
<table align='center' class='table table-striped table-condensed table-hover table-bordered'>
@php
$i = 1;
// start first row
echo "<tr>";
foreach($winnerlist_results as $winnerlist_result){
echo "<td>" . $winnerlist_result->winning_bidder_num . "</td>";
// do we need a new row?
if($i % 6 === 0){
echo "</tr><tr>";
}
// increase counter
$i++;
}
// end final row
echo "</tr>";
@endphp
</table>
</div>
</div>
</div>
</div>
</div>
@endsection

View File

@ -0,0 +1,52 @@
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-10 col-md-offset-1">
<div class="panel panel-default">
<div class="panel-heading">Winner Entry</div>
<div class="panel-body">
<form id="winner_form" required method="post" action="/winners" enctype="multipart/form-data" class=form-horizontal>
{{ csrf_field() }}
<div class=form-group>
<label for=winneritemnum class="col-sm-3 col-sm-offset-1 control-label">
Item Number:
</label>
<div class=col-sm-2>
<select name="winneritemnum" id="winneritemnum" required class=form-control>
<?php echo App\ItemSelectList::ItemShowNumbers(); ?>
</select>
</div>
</div>
<div class=form-group>
<label for=winnerbiddernum class="col-sm-3 col-sm-offset-1 control-label">
Bidder Number:
</label>
<div class=col-sm-2>
<select name="winnerbiddernum" id="winnerbiddernum" required class=form-control>
<?php echo App\BidderSelectList::BidderShowNumbers(); ?>
</select>
</div>
</div>
<div class=form-group>
<label for=winnerbid class="col-sm-3 col-sm-offset-1 control-label">
Winning Bid:
</label>
<div class=col-sm-4>
<input type="text" name="winnerbid" id="winnerbid" class=form-control />
</div>
</div>
<div class=form-group>
<div class="col-sm-offset-5 col-sm-10">
<button type="submit" value="Submit" class="btn btn-primary">Submit</button>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
@endsection

View File

@ -0,0 +1,63 @@
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-10 col-md-offset-1">
<div class="panel panel-default">
<div class="panel-heading">
<h3>
Winners by Item
</h3>
</div>
<div class="panel-body">
@if($winnersbyitem_results)
<table align='center' class='table table-striped table-condensed table-hover table-bordered'>
<tr>
<th>
Item #:
</th>
<th>
Desc:
</th>
<th>
Winning Bid:
</th>
<th>
Bidder #:
</th>
<th>
Bidder Name:
</th>
</tr>
@foreach($winnersbyitem_results as $winnersbyitem_result)
<tr>
<td>
{{ $winnersbyitem_result->item_assigned_num }}
</td>
<td>
{{ $winnersbyitem_result->item_desc }}
</td>
<td>
${{ $winnersbyitem_result->winning_cost }}
</td>
<td>
{{ $winnersbyitem_result->bidder_assigned_number }}
</td>
<td>
{{ $winnersbyitem_result->bidder_fname }} {{ $winnersbyitem_result->bidder_lname }}
</td>
</tr>
@endforeach
</table>
@else
<h3>
No Winners
</h3>
@endif
</div>
</div>
</div>
</div>
</div>
@endsection

View File

@ -0,0 +1,76 @@
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-10 col-md-offset-1">
<div class="panel panel-default">
<div class="panel-heading">
<h3>
Baskets Won
</h3>
</div>
<div class="panel-body">
<table align='center' class='table table-striped table-condensed table-hover table-bordered'>
@foreach($winnertotal_info_results as $winnertotal_info_result)
<tr>
<th>
Bidder Number: {{ $winnertotal_info_result->bidder_assigned_number }}
<th>
Name: {{ $winnertotal_info_result->bidder_fname }} {{ $winnertotal_info_result->bidder_lname }}
</th>
<th>
Phone Number: {{ $winnertotal_info_result->bidder_phone }}
</th>
<th>
Total: ${{ $winnertotal_info_result->total_cost }}
</th>
</tr>
<tr>
<th>
Address: {{ $winnertotal_info_result->bidder_addr }}
</th>
<th>
City: {{ $winnertotal_info_result->bidder_city }}
</th>
<th>
State: {{ $winnertotal_info_result->bidder_state }}
</th>
<th>
Zip: {{ $winnertotal_info_result->bidder_zip }}
</th>
</tr>
@endforeach
</table>
@if($winnertotal_list_results)
<table align='center' class='table table-striped table-condensed table-hover table-bordered'>
<tr>
<th>
Item Number:
</th>
<th>
Winning Bid:
</th>
</tr>
@foreach($winnertotal_list_results as $winnertotal_result)
<tr>
<td>
{{ $winnertotal_result->item_assigned_num }}
</td>
<td>
${{ $winnertotal_result->winning_cost }}
</td>
</tr>
@endforeach
</table>
@else
<h3>
No Winning Bids
</h3>
@endif
</div>
</div>
</div>
</div>
</div>
@endsection

View File

@ -0,0 +1,34 @@
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-10 col-md-offset-1">
<div class="panel panel-default">
<div class="panel-heading">Total by Bidder</div>
<div class="panel-body">
<form id="winnertotal_form" required method="post" action="/winnertotal" enctype="multipart/form-data" class=form-horizontal>
{{ csrf_field() }}
<div class=form-group>
<label for=winnerbiddernum class="col-sm-3 col-sm-offset-1 control-label">
Bidder Number:
</label>
<div class=col-sm-4>
<select name="winnerbiddernum" id="winnerbiddernum" required class=form-control>
<?php echo App\BidderSelectList::BidderShowNumbers(); ?>
</select>
</div>
</div>
<div class=form-group>
<div class="col-sm-offset-5 col-sm-10">
<button type="submit" value="Submit" class="btn btn-primary">Submit</button>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
@endsection

View File

@ -0,0 +1,37 @@
@extends('layouts.wallboard')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-14">
<div class="panel panel-default">
<div class="panel-heading">
<h1>
Winning Bidders
</h1>
</div>
<div class="panel-body">
<table align='center' class='table table-striped table-condensed table-hover table-bordered'>
@php
$i = 1;
// start first row
echo "<tr>";
foreach($winnerlist_results as $winnerlist_result){
echo "<td><h3>" . $winnerlist_result->winning_bidder_num . "</h3></td>";
// do we need a new row?
if($i % 8 === 0){
echo "</tr><tr>";
}
// increase counter
$i++;
}
// end final row
echo "</tr>";
@endphp
</table>
</div>
</div>
</div>
</div>
</div>
@endsection