Custom invoice/quote numbers
This commit is contained in:
parent
24a0842e48
commit
eca14583fd
1 changed files with 0 additions and 10 deletions
|
|
@ -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');
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue