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

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