mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 13:24:30 -04:00
Fix for Net 0
This commit is contained in:
parent
7e4a7921cb
commit
42858ab46c
@ -13,7 +13,7 @@ class PaymentTermsSeeder extends Seeder
|
||||
];
|
||||
|
||||
foreach ($paymentTerms as $paymentTerm) {
|
||||
if (! DB::table('payment_terms')->where('name', '=', $paymentTerm['name'])->get()) {
|
||||
if (! DB::table('payment_terms')->where('name', '=', $paymentTerm['name'])->first()) {
|
||||
PaymentTerm::create($paymentTerm);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user