1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 05:02:36 +01:00

Custom invoice/quote numbers

This commit is contained in:
Hillel Coren 2015-10-22 21:57:47 +03:00
parent 24a0842e48
commit eca14583fd

View File

@ -15,11 +15,6 @@ class AddInvoiceNumberPattern extends Migration
$table->string('invoice_number_pattern')->nullable();
$table->string('quote_number_pattern')->nullable();
});
Schema::table('clients', function ($table) {
$table->integer('invoice_number_counter')->default(1)->nullable();
$table->integer('quote_number_counter')->default(1)->nullable();
});
}
/**
@ -33,10 +28,5 @@ class AddInvoiceNumberPattern extends Migration
$table->dropColumn('invoice_number_pattern');
$table->dropColumn('quote_number_pattern');
});
Schema::table('accounts', function ($table) {
$table->dropColumn('invoice_number_counter');
$table->dropColumn('quote_number_counter');
});
}
}