diff --git a/.env.example b/.env.example index 0f7776e2..a45a8cc7 100644 --- a/.env.example +++ b/.env.example @@ -35,9 +35,6 @@ TWITTER_WIDGET_ID= LOG=errorlog -ticket_booking_fee_percentage=0 -ticket_booking_fee_fixed=0.01 - PAYMENT_API_URI= PAYMENT_API_USER= PAYMENT_API_PASSWORD= diff --git a/app/Http/Controllers/EventCheckoutController.php b/app/Http/Controllers/EventCheckoutController.php index e9a3c28c..670115a2 100644 --- a/app/Http/Controllers/EventCheckoutController.php +++ b/app/Http/Controllers/EventCheckoutController.php @@ -111,7 +111,7 @@ class EventCheckoutController extends Controller $validation_messages = []; foreach ($seats as $ticket_id=>$ticket_seats){ $seats_count = count($ticket_seats); - if($seats_count<1) + if(!$seats_count) continue; $seat_nos = array_values($ticket_seats); diff --git a/database/migrations/2019_09_25_144735_add_events_limit_to_categories_table.php b/database/migrations/2019_09_25_144735_add_events_limit_to_categories_table.php index d813381a..d2a8874b 100644 --- a/database/migrations/2019_09_25_144735_add_events_limit_to_categories_table.php +++ b/database/migrations/2019_09_25_144735_add_events_limit_to_categories_table.php @@ -14,7 +14,7 @@ class AddEventsLimitToCategoriesTable extends Migration public function up() { Schema::table('categories', function (Blueprint $table) { - $table->smallInteger('events_limit')->default(6); + $table->smallInteger('events_limit')->default(8); }); }