mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 12:54:31 -04:00
Bug fixes
This commit is contained in:
parent
1d0f6bf27a
commit
9b149189fb
@ -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,
|
||||
|
@ -250,6 +250,7 @@ class PaymentController extends \BaseController
|
||||
|
||||
$data = [
|
||||
'showBreadcrumbs' => false,
|
||||
'hideHeader' => true,
|
||||
'invitationKey' => $invitationKey,
|
||||
'invoice' => $invoice,
|
||||
'client' => $client,
|
||||
|
@ -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>
|
||||
@endif
|
||||
|
||||
@else
|
||||
<div style="height:60px"/>
|
||||
@endif
|
||||
|
||||
|
||||
</div><!-- /.navbar-collapse -->
|
||||
|
||||
|
||||
|
@ -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 } ?>
|
||||
|
||||
<?php echo($gateway->name); ?>
|
||||
@if(strtolower($gateway->name) == 'beanstream')
|
||||
{{ Former::select('country')->addOption('','')->label('Country')
|
||||
->fromQuery($countries, 'name', 'iso_3166_2') }}
|
||||
{{ Former::text('phone') }}
|
||||
{{ Former::text('email') }}
|
||||
@endif
|
||||
|
||||
{{ Former::actions( Button::primary_submit_lg(trans('texts.pay_now') . ' - ' . Utils::formatMoney($invoice->amount, $client->currency_id) )) }}
|
||||
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user