mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-03 12:34:37 -04:00
fix subscriptions schema
This commit is contained in:
parent
1d48f55354
commit
3eb9688a83
@ -110,7 +110,7 @@ class QuoteService
|
|||||||
|
|
||||||
$this->invoice
|
$this->invoice
|
||||||
->service()
|
->service()
|
||||||
->markSent()
|
// ->markSent()
|
||||||
->createInvitations()
|
->createInvitations()
|
||||||
->deletePdf()
|
->deletePdf()
|
||||||
->save();
|
->save();
|
||||||
|
@ -21,6 +21,17 @@ class AddPriceColumnToSubscriptionsTable extends Migration
|
|||||||
Schema::table('recurring_invoices', function (Blueprint $table) {
|
Schema::table('recurring_invoices', function (Blueprint $table) {
|
||||||
$table->unsignedInteger('subscription_id')->nullable();
|
$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()
|
public function down()
|
||||||
{
|
{
|
||||||
Schema::table('subscriptions', function (Blueprint $table) {
|
|
||||||
//
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
<div class="px-4 py-5 sm:p-6">
|
<div class="px-4 py-5 sm:p-6">
|
||||||
<div class="sm:flex sm:items-start sm:justify-between">
|
<div class="sm:flex sm:items-start sm:justify-between">
|
||||||
<h3 class="text-lg leading-6 font-medium text-gray-900">
|
<h3 class="text-lg leading-6 font-medium text-gray-900">
|
||||||
{{ ctrans('texts.pending_approval') }}
|
{{ ctrans('texts.approve') }}
|
||||||
</h3>
|
</h3>
|
||||||
|
|
||||||
<div class="mt-5 sm:mt-0 sm:ml-6 sm:flex-shrink-0 sm:flex sm:items-center">
|
<div class="mt-5 sm:mt-0 sm:ml-6 sm:flex-shrink-0 sm:flex sm:items-center">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user