Add discount per item feature to the bills

This commit is contained in:
Burak Çakırel
2020-03-24 00:16:11 +03:00
parent e2148ef9a7
commit 6903a44bce
17 changed files with 159 additions and 150 deletions

View File

@ -32,8 +32,7 @@ class AddDiscountColumnsInvoiceItemsTable extends Migration
Schema::table(
'invoice_items',
function (Blueprint $table) {
$table->dropColumn('discount_rate');
$table->dropColumn('discount_type');
$table->dropColumn(['discount_rate', 'discount_type']);
}
);
}

View File

@ -63,7 +63,6 @@ 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',