diff --git a/app/views/header.blade.php b/app/views/header.blade.php index 5d95f8b7e830..6df84c67fbee 100755 --- a/app/views/header.blade.php +++ b/app/views/header.blade.php @@ -46,30 +46,9 @@ - + + @stop @section('content') - @if ($invoice->client->account->isGatewayConfigured() && !$invoice->isPaid()) -
- {{ Button::normal(trans('texts.download_pdf'), array('onclick' => 'onDownloadClick()', 'class' => 'btn-lg')) }} - {{ Button::primary_link(URL::to('payment/' . $invitation->invitation_key), trans('texts.pay_now'), array('class' => 'btn-lg pull-right')) }} -
- @else -
- {{ Button::primary('Download PDF', array('onclick' => 'onDownloadClick()', 'class' => 'btn-lg')) }} -
- @endif - -

 

+
- - +

 

+ + @if ($invoice->client->account->isGatewayConfigured() && !$invoice->isPaid()) +
+ {{ Button::normal(trans('texts.download_pdf'), array('onclick' => 'onDownloadClick()', 'class' => 'btn-lg')) }} + {{ Button::success_link(URL::to('payment/' . $invitation->invitation_key), trans('texts.pay_now'), array('class' => 'btn-lg pull-right')) }} +
+ @else +
+ {{ Button::primary('Download PDF', array('onclick' => 'onDownloadClick()', 'class' => 'btn-lg')) }} +
+ @endif + +

 

+ + + + +

 

+

 

+ +