|
|
|
|
|
|
|
|
class PointSaleFieldDefinition extends AbstractFieldDefinition |
|
|
class PointSaleFieldDefinition extends AbstractFieldDefinition |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
public function configureFieldsIndex(): array |
|
|
|
|
|
|
|
|
public function configureIndex(): array |
|
|
{ |
|
|
{ |
|
|
return [ |
|
|
return [ |
|
|
'id', |
|
|
'id', |
|
|
|
|
|
|
|
|
'main', |
|
|
'main', |
|
|
'address', |
|
|
'address', |
|
|
'seo', |
|
|
'seo', |
|
|
'conf' |
|
|
|
|
|
|
|
|
'conf', |
|
|
]; |
|
|
]; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public function configureFieldsPanelMain(): array |
|
|
|
|
|
|
|
|
public function configurePanelMain(): array |
|
|
{ |
|
|
{ |
|
|
return [ |
|
|
return [ |
|
|
'title', |
|
|
'title', |
|
|
|
|
|
|
|
|
]; |
|
|
]; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public function configureFieldsPanelAddress(): array |
|
|
|
|
|
|
|
|
public function configurePanelAddress(): array |
|
|
{ |
|
|
{ |
|
|
return ['address']; |
|
|
|
|
|
|
|
|
return [ |
|
|
|
|
|
'address' |
|
|
|
|
|
]; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public function configureFields(): array |
|
|
public function configureFields(): array |