Merge pull request #602 from cuneytsenturk/tax-rate

Add calculate and compound feature on Tax
This commit is contained in:
Cüneyt Şentürk
2018-11-07 11:32:33 +03:00
committed by GitHub
17 changed files with 1200 additions and 555 deletions

View File

@ -0,0 +1,32 @@
<?php
use Illuminate\Database\Migrations\Migration;
class AddTaxColumns extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('taxes', function ($table) {
$table->string('type')->default('normal');
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('taxes', function ($table) {
$table->dropColumn([
'type',
]);
});
}
}