From c5473c40ff4262fa1ef73c4e1bed051cd54b3316 Mon Sep 17 00:00:00 2001 From: merdan Date: Sat, 30 Nov 2019 11:19:32 +0500 Subject: [PATCH] close admin registration --- config/backpack/base.php | 10 +++++----- .../ViewEvent/Partials/EventTicketsSection.blade.php | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/config/backpack/base.php b/config/backpack/base.php index 230f34e1..dcabb582 100644 --- a/config/backpack/base.php +++ b/config/backpack/base.php @@ -19,13 +19,13 @@ return [ 'logo_mini' => 'Btm', // Developer or company name. Shown in footer. - 'developer_name' => 'Merdan Muhammedow', + 'developer_name' => 'Digital TPS', // Developer website. Link in footer. - 'developer_link' => 'http://tmchat.ru', + 'developer_link' => 'http://tpsadvertising.com', // Show powered by Laravel Backpack in the footer? - 'show_powered_by' => true, + 'show_powered_by' => false, // The AdminLTE skin. Affects menu color and primary/secondary colors used throughout the application. 'skin' => 'skin-purple', @@ -57,7 +57,7 @@ return [ | By default the registration is open only on localhost. */ - 'registration_open' => env('BACKPACK_REGISTRATION_OPEN', true), + 'registration_open' => env('BACKPACK_REGISTRATION_OPEN', false), /* |-------------------------------------------------------------------------- @@ -121,7 +121,7 @@ return [ // Other options: // - placehold (generic image with his first letter) // - example_method_name (specify the method on the User model that returns the URL) - 'avatar_type' => 'gravatar', + 'avatar_type' => 'placehold', /* |-------------------------------------------------------------------------- diff --git a/resources/views/Public/ViewEvent/Partials/EventTicketsSection.blade.php b/resources/views/Public/ViewEvent/Partials/EventTicketsSection.blade.php index 86eb4269..960f43a2 100644 --- a/resources/views/Public/ViewEvent/Partials/EventTicketsSection.blade.php +++ b/resources/views/Public/ViewEvent/Partials/EventTicketsSection.blade.php @@ -44,7 +44,7 @@ {{money($ticket->total_price, $event->currency)}} {{ ($event->organiser->tax_name && $event->organiser->tax_value) ? '(+'.money(($ticket->total_price*($event->organiser->tax_value)/100), $event->currency).' '.$event->organiser->tax_name.')' : '' }} + content="{{ $event->currency->code ?? 'manat'}}"> @endif