mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
License updates
This commit is contained in:
parent
5144d12ba8
commit
b23bbb172d
@ -1,5 +1,13 @@
|
|||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* Invoice Ninja (https://invoiceninja.com).
|
||||||
|
*
|
||||||
|
* @link https://github.com/invoiceninja/invoiceninja source repository
|
||||||
|
*
|
||||||
|
* @copyright Copyright (c) 2022. Invoice Ninja LLC (https://invoiceninja.com)
|
||||||
|
*
|
||||||
|
* @license https://www.elastic.co/licensing/elastic-license
|
||||||
|
*/
|
||||||
use Illuminate\Database\Migrations\Migration;
|
use Illuminate\Database\Migrations\Migration;
|
||||||
use Illuminate\Database\Schema\Blueprint;
|
use Illuminate\Database\Schema\Blueprint;
|
||||||
use Illuminate\Support\Facades\Schema;
|
use Illuminate\Support\Facades\Schema;
|
||||||
|
@ -17,12 +17,16 @@ use Illuminate\Support\Facades\Schema;
|
|||||||
|
|
||||||
class SetRecurringClientTimestamp extends Migration
|
class SetRecurringClientTimestamp extends Migration
|
||||||
{
|
{
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Run the migrations.
|
* Run the migrations.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public function up()
|
public function up()
|
||||||
{
|
{
|
||||||
|
|
||||||
|
set_time_limit(0);
|
||||||
|
|
||||||
Schema::table('recurring_invoices', function (Blueprint $table) {
|
Schema::table('recurring_invoices', function (Blueprint $table) {
|
||||||
$table->datetime('next_send_date_client')->nullable();
|
$table->datetime('next_send_date_client')->nullable();
|
||||||
});
|
});
|
||||||
|
@ -22,6 +22,8 @@ class CreatePurchaseOrderInvitationsTable extends Migration
|
|||||||
*/
|
*/
|
||||||
public function up()
|
public function up()
|
||||||
{
|
{
|
||||||
|
set_time_limit(0);
|
||||||
|
|
||||||
Schema::create('purchase_order_invitations', function (Blueprint $table) {
|
Schema::create('purchase_order_invitations', function (Blueprint $table) {
|
||||||
$table->id();
|
$table->id();
|
||||||
$table->unsignedInteger('company_id');
|
$table->unsignedInteger('company_id');
|
||||||
@ -68,6 +70,8 @@ class CreatePurchaseOrderInvitationsTable extends Migration
|
|||||||
$settings->purchase_order_number_counter = 1; //@implemented
|
$settings->purchase_order_number_counter = 1; //@implemented
|
||||||
$settings->email_subject_purchase_order = '';
|
$settings->email_subject_purchase_order = '';
|
||||||
$settings->email_template_purchase_order = '';
|
$settings->email_template_purchase_order = '';
|
||||||
|
$settings->require_purchase_order_signature = false;
|
||||||
|
|
||||||
$company->settings = $settings;
|
$company->settings = $settings;
|
||||||
$company->save();
|
$company->save();
|
||||||
});
|
});
|
||||||
@ -82,4 +86,5 @@ class CreatePurchaseOrderInvitationsTable extends Migration
|
|||||||
public function down()
|
public function down()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user