diff --git a/app/Http/Controllers/PaycheckController.php b/app/Http/Controllers/PaycheckController.php index f1e1a22..f8921d2 100644 --- a/app/Http/Controllers/PaycheckController.php +++ b/app/Http/Controllers/PaycheckController.php @@ -9,7 +9,7 @@ class PaycheckController extends Controller // public function display() { - return view('paycheck', ['hours' => '', 'payrate' => '', 'grosspay' => '', 'netpay' => '', 'fedtax' => '', 'statetax' => '', 'sstax' => '', 'medtax' => '']); + return view('paycheck', ['hours' => 'empt', 'payrate' => '', 'grosspay' => '', 'netpay' => '', 'fedtax' => '', 'statetax' => '', 'sstax' => '', 'medtax' => '']); } public function results(Request $stuff) { diff --git a/resources/views/paycheck.blade.php b/resources/views/paycheck.blade.php index b1cb9c1..58fd0d1 100644 --- a/resources/views/paycheck.blade.php +++ b/resources/views/paycheck.blade.php @@ -62,7 +62,7 @@ height: 30%; {{ Form::button('do it', array('type' => 'submit')) }}

{!! Form::close() !!} - @if ($hours!=='d') + @if ($hours!=='empt' && $hours!=='d')