From a94307f5e1fc6ec8552babe6f2db60eb80dfdc6c Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Wed, 11 Oct 2017 15:20:07 +0300 Subject: [PATCH] Update gateway flow --- docs/configure.rst | 2 +- resources/views/accounts/account_gateway.blade.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/configure.rst b/docs/configure.rst index 5976098af68f..8c4f8dff21a3 100644 --- a/docs/configure.rst +++ b/docs/configure.rst @@ -104,7 +104,7 @@ You can disable the feature by adding ``GOOGLE_MAPS_ENABLED=false`` to the .env Time Tracking App """"""""""""""""" -You can create a desktop wrapper for the time tracking app by installing `Nativefier `_ and then running: +You can create a Windows, MacOS or Linux desktop wrapper for the time tracking app by installing `Nativefier `_ and then running: .. code-block:: shell diff --git a/resources/views/accounts/account_gateway.blade.php b/resources/views/accounts/account_gateway.blade.php index c743fdd946d5..207398b73744 100644 --- a/resources/views/accounts/account_gateway.blade.php +++ b/resources/views/accounts/account_gateway.blade.php @@ -1,7 +1,7 @@ @extends('header') @section('top-right') - @if (env('WEPAY_CLIENT_ID') && ! count($accountGatewaysIds)) + @if (env('WEPAY_CLIENT_ID') && isset($accountGatewaysIds) && ! count($accountGatewaysIds)) {!! Button::primary(trans('texts.sign_up_with_wepay')) ->asLinkTo(URL::to('/gateways/create?wepay=true')) !!} @endif