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();
$data = array(
'hideHeader' => true,
'showBreadcrumbs' => false,
'invoice' => $invoice->hidePrivateFields(),
'invitation' => $invitation,

View File

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

View File

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

View File

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