Bug fixes

This commit is contained in:
Hillel Coren 2014-04-23 16:46:52 +03:00
parent 1d0f6bf27a
commit 9b149189fb
4 changed files with 15 additions and 11 deletions

View File

@ -145,6 +145,7 @@ class InvoiceController extends \BaseController {
$invoice->is_pro = $client->account->isPro(); $invoice->is_pro = $client->account->isPro();
$data = array( $data = array(
'hideHeader' => true,
'showBreadcrumbs' => false, 'showBreadcrumbs' => false,
'invoice' => $invoice->hidePrivateFields(), 'invoice' => $invoice->hidePrivateFields(),
'invitation' => $invitation, 'invitation' => $invitation,

View File

@ -250,6 +250,7 @@ class PaymentController extends \BaseController
$data = [ $data = [
'showBreadcrumbs' => false, 'showBreadcrumbs' => false,
'hideHeader' => true,
'invitationKey' => $invitationKey, 'invitationKey' => $invitationKey,
'invoice' => $invoice, 'invoice' => $invoice,
'client' => $client, 'client' => $client,

View File

@ -94,8 +94,8 @@
</a> </a>
</div> </div>
@if (Auth::check())
<div class="collapse navbar-collapse" id="navbar-collapse-1"> <div class="collapse navbar-collapse" id="navbar-collapse-1">
@if (Auth::check() && !isset($hideHeader))
<ul class="nav navbar-nav" style="font-weight: bold"> <ul class="nav navbar-nav" style="font-weight: bold">
{{ HTML::nav_link('dashboard', 'dashboard') }} {{ HTML::nav_link('dashboard', 'dashboard') }}
{{ HTML::menu_link('client') }} {{ HTML::menu_link('client') }}
@ -178,8 +178,11 @@
</ul> </ul>
</li> </li>
</ul> </ul>
@else
<div style="height:60px"/>
@endif @endif
</div><!-- /.navbar-collapse --> </div><!-- /.navbar-collapse -->

View File

@ -73,14 +73,13 @@
{{ Former::text('state')->label('State/Province') }} {{ Former::text('state')->label('State/Province') }}
{{ Former::text('postal_code') }} {{ Former::text('postal_code') }}
<?php if(strtolower($gateway->name) == 'beanstream') { ?> @if(strtolower($gateway->name) == 'beanstream')
{{ Former::select('country')->addOption('','')->label('Country') {{ Former::select('country')->addOption('','')->label('Country')
->fromQuery($countries, 'name', 'iso_3166_2') }} ->fromQuery($countries, 'name', 'iso_3166_2') }}
{{ Former::text('phone') }} {{ Former::text('phone') }}
{{ Former::text('email') }} {{ Former::text('email') }}
<?php } ?> @endif
<?php echo($gateway->name); ?>
{{ Former::actions( Button::primary_submit_lg(trans('texts.pay_now') . ' - ' . Utils::formatMoney($invoice->amount, $client->currency_id) )) }} {{ Former::actions( Button::primary_submit_lg(trans('texts.pay_now') . ' - ' . Utils::formatMoney($invoice->amount, $client->currency_id) )) }}
</div> </div>