diff --git a/app/Services/Quote/QuoteService.php b/app/Services/Quote/QuoteService.php index b7684620827e..5c6ab236e2c0 100644 --- a/app/Services/Quote/QuoteService.php +++ b/app/Services/Quote/QuoteService.php @@ -110,7 +110,7 @@ class QuoteService $this->invoice ->service() - ->markSent() + // ->markSent() ->createInvitations() ->deletePdf() ->save(); diff --git a/database/migrations/2021_03_26_201148_add_price_column_to_subscriptions_table.php b/database/migrations/2021_03_26_201148_add_price_column_to_subscriptions_table.php index 1514d8c75f32..c4f1e453008d 100644 --- a/database/migrations/2021_03_26_201148_add_price_column_to_subscriptions_table.php +++ b/database/migrations/2021_03_26_201148_add_price_column_to_subscriptions_table.php @@ -21,6 +21,17 @@ class AddPriceColumnToSubscriptionsTable extends Migration Schema::table('recurring_invoices', function (Blueprint $table) { $table->unsignedInteger('subscription_id')->nullable(); }); + + Schema::table('subscriptions', function (Blueprint $table) { + $table->unsignedInteger('group_id')->nullable()->change(); + $table->text('product_ids')->nullable()->change(); + $table->text('recurring_product_ids')->nullable()->change(); + $table->text('auto_bill')->nullable()->change(); + $table->text('promo_code')->nullable()->change(); + $table->unsignedInteger('frequency_id')->nullable()->change(); + $table->text('plan_map')->nullable()->change(); + }); + } /** @@ -30,8 +41,5 @@ class AddPriceColumnToSubscriptionsTable extends Migration */ public function down() { - Schema::table('subscriptions', function (Blueprint $table) { - // - }); } } diff --git a/resources/views/portal/ninja2020/quotes/includes/actions.blade.php b/resources/views/portal/ninja2020/quotes/includes/actions.blade.php index bc49946a1c29..28f796cd2beb 100644 --- a/resources/views/portal/ninja2020/quotes/includes/actions.blade.php +++ b/resources/views/portal/ninja2020/quotes/includes/actions.blade.php @@ -8,7 +8,7 @@