PointRetrait : c'est OK pour la modification sur le premier onglet "Généralités"
This commit is contained in:
@@ -5,6 +5,11 @@
|
||||
xsi:schemaLocation="http://thelia.net/schema/dic/config http://thelia.net/schema/dic/config/thelia-1.0.xsd">
|
||||
|
||||
<hooks>
|
||||
<!-- Global hook class -->
|
||||
<hook id="pdr.css.hook" class="PointRetrait\Hook\CssHook">
|
||||
<tag name="hook.event_listener" event="main.head-css" type="back" method="onAddCss"/>
|
||||
</hook>
|
||||
|
||||
<hook id="pdr.admin.hook" class="PointRetrait\Hook\AdminHook">
|
||||
<tag name="hook.event_listener" event="home.block" type="back" method="displayScheduledWithdrawals" />
|
||||
<tag name="hook.event_listener" event="main.in-top-menu-items" type="back" method="onMainTopMenuTools" />
|
||||
|
||||
@@ -15,6 +15,9 @@
|
||||
<route id="pointretrait.place.view" path="/admin/module/PointRetrait/edit" methods="get">
|
||||
<default key="_controller">PointRetrait\Controller\backOffice\PlaceController::viewPlace</default>
|
||||
</route>
|
||||
<route id="pointretrait.place.edit" path="/admin/module/PointRetrait/edit" methods="post">
|
||||
<default key="_controller">PointRetrait\Controller\backOffice\PlaceController::editPlace</default>
|
||||
</route>
|
||||
|
||||
|
||||
</routes>
|
||||
|
||||
@@ -11,11 +11,11 @@
|
||||
<column name="minimum_amount" required="true" type="FLOAT" defaultValue="0" />
|
||||
<column name="latitude" required="false" type="DOUBLE" />
|
||||
<column name="longitude" required="false" type="DOUBLE" />
|
||||
<column name="address1" size="255" type="VARCHAR" required="true"/>
|
||||
<column name="address2" size="255" type="VARCHAR"/>
|
||||
<column name="address3" size="255" type="VARCHAR"/>
|
||||
<column name="zipcode" required="true" size="10" type="VARCHAR"/>
|
||||
<column name="city" required="true" size="255" type="VARCHAR"/>
|
||||
<column name="address1" required="true" size="100" type="VARCHAR" />
|
||||
<column name="address2" size="100" type="VARCHAR" />
|
||||
<column name="zipcode" required="true" size="10" type="VARCHAR" />
|
||||
<column name="city" required="true" size="100" type="VARCHAR" />
|
||||
<column name="access_comment" size="400" type="VARCHAR" />
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
@@ -18,11 +18,11 @@ CREATE TABLE `pdr_places`
|
||||
`minimum_amount` FLOAT DEFAULT 0 NOT NULL,
|
||||
`latitude` DOUBLE,
|
||||
`longitude` DOUBLE,
|
||||
`address1` VARCHAR(255) NOT NULL,
|
||||
`address2` VARCHAR(255),
|
||||
`address3` VARCHAR(255),
|
||||
`address1` VARCHAR(100) NOT NULL,
|
||||
`address2` VARCHAR(100),
|
||||
`zipcode` VARCHAR(10) NOT NULL,
|
||||
`city` VARCHAR(255) NOT NULL,
|
||||
`city` VARCHAR(100) NOT NULL,
|
||||
`access_comment` VARCHAR(400),
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user