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:
parent
24a0842e48
commit
eca14583fd
@ -15,11 +15,6 @@ class AddInvoiceNumberPattern extends Migration
|
|||||||
$table->string('invoice_number_pattern')->nullable();
|
$table->string('invoice_number_pattern')->nullable();
|
||||||
$table->string('quote_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('invoice_number_pattern');
|
||||||
$table->dropColumn('quote_number_pattern');
|
$table->dropColumn('quote_number_pattern');
|
||||||
});
|
});
|
||||||
|
|
||||||
Schema::table('accounts', function ($table) {
|
|
||||||
$table->dropColumn('invoice_number_counter');
|
|
||||||
$table->dropColumn('quote_number_counter');
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user