Add discount per item for invoice
This commit is contained in:
@ -240,6 +240,11 @@ class CoreV200 extends Migration
|
||||
Schema::table('users', function (Blueprint $table) {
|
||||
$table->string('landing_page', 70)->nullable()->default('dashboard');
|
||||
});
|
||||
|
||||
Schema::table('invoice_items', function (Blueprint $table) {
|
||||
$table->double('discount_rate', 15, 4)->default('0.0000');
|
||||
$table->string('discount_type')->default('normal');
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -63,6 +63,7 @@ class Settings extends Seeder
|
||||
'invoice.color' => '#55588b',
|
||||
'default.payment_method' => 'offline-payments.cash.1',
|
||||
'default.list_limit' => '25',
|
||||
'default.discount_location' => 'in_totals',
|
||||
'default.use_gravatar' => '0',
|
||||
'email.protocol' => 'mail',
|
||||
'email.sendmail_path' => '/usr/sbin/sendmail -bs',
|
||||
|
Reference in New Issue
Block a user