Yasien
10/21/2022, 1:56 PMifox
10/21/2022, 1:59 PMYasien
10/21/2022, 2:01 PMYasien
10/21/2022, 2:02 PMYasien
10/21/2022, 2:02 PMelkex
10/24/2022, 12:31 PMifox
10/24/2022, 12:32 PMelkex
10/24/2022, 12:36 PMifox
10/24/2022, 12:37 PMelkex
10/24/2022, 12:37 PMelkex
10/24/2022, 12:39 PMifox
10/24/2022, 12:40 PM$anotherRepo = app(SomeRepository::class)
elkex
10/24/2022, 12:44 PMtud13
10/24/2022, 4:49 PMdakaalim
10/24/2022, 8:44 PMtion
, a table not found
error will occur. e.g. php artisan twill:capsule:make --singleton PickupInformation
The code reads pickup_information
when it should be reading table pickup_informations
ifox
10/24/2022, 9:08 PMtion
. it's more that informations
doesn't exist in english. Information is an uncountable noun.dakaalim
10/24/2022, 9:59 PMPickupInformation
, but then the seeder failed to seed, it said table pickup_informations
not found
when I use PickupInformations
, it said table pickup_information
not found
I'm not sure why, I have settled with the name PickupInfo
, no issue with this name, so my guess is it's got something to do with tion
ifox
10/24/2022, 10:02 PMphp
>>> Str::plural('PickupInformation')
=> "PickupInformations"
>>> Str::plural('Information')
=> "Information"
>>> Str::plural('PickupInfo')
=> "PickupInfos"
>>> Str::plural('Info')
=> "Infos"
ifox
10/24/2022, 10:04 PMs
in both cases, but information doesn'tifox
10/24/2022, 10:05 PMtion
that doesn't have the issue:ifox
10/24/2022, 10:05 PMphp
>>> Str::plural('PickupGeneration')
=> "PickupGenerations"
>>> Str::plural('Generation')
=> "Generations"
dakaalim
10/24/2022, 10:46 PMsavchuk.ivan
10/25/2022, 1:07 PMHarings Rob
10/25/2022, 1:07 PMHarings Rob
10/25/2022, 1:07 PMsavchuk.ivan
10/25/2022, 1:11 PMHarings Rob
10/25/2022, 1:12 PMsavchuk.ivan
10/25/2022, 1:13 PMsavchuk.ivan
10/25/2022, 2:30 PM@include('admin.part.wysiwyg', [$name_block = 'title_block', $label = 'Title'])
3) And in the file in which I took out @formField I did this
$label = $label ?? 'Name';
$name = $name_block ?? 'title';
?>
@formField('wysiwyg', [
'name' => "${name}",
'label' => "${label}",
Harings Rob
10/25/2022, 2:31 PM