fixed slug issues

This commit is contained in:
Ritikesh yadav
2024-06-13 16:41:32 +05:30
parent e010396968
commit dd46d4e265

View File

@@ -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'],