fixed slug issues
This commit is contained in:
@@ -68,7 +68,7 @@ class AlternativeInvestmentFundImport implements ToCollection, WithHeadingRow
|
||||
|
||||
AlternativeInvestmentFund::create([
|
||||
'products_id' => $product->id,
|
||||
'slug' => $count < 1 ? Str::slug($row['name_of_the_fund']) : Str::slug($row['name_of_the_fund']) . '-' . $count + 1,
|
||||
'slug' => Str::slug($row['name_of_the_fund']) . '-' . $count+1,
|
||||
'fund_name' => $row['name_of_the_fund'],
|
||||
'registration_number' => $row['registration_no'] ?? null,
|
||||
'fund_category' => $row['fund_category_iiiiii'],
|
||||
|
||||
Reference in New Issue
Block a user