Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion doc/installation/xml-mapping.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ Define new Entity mapping inside `src/Resources/config/doctrine` directory.
http://doctrine-project.org/schemas/orm/doctrine-mapping.xsd">

<entity name="App\Entity\ShippingExport" table="bitbag_shipping_export">
<field name="parcel_template" nullable="true" />
<field name="parcelTemplate" nullable="true" />
</entity>
</doctrine-mapping>
```
Expand Down
5 changes: 2 additions & 3 deletions src/Resources/config/grid/order.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ sylius_grid:
options:
link:
route: sylius_shop_account_order_return

show:
type: shop_show
label: sylius.ui.show
Expand All @@ -32,7 +31,7 @@ sylius_grid:
route: sylius_shop_order_show
parameters:
tokenValue: resource.tokenValue

bitbag_admin_shipping_export:
fields:
order:
Expand Down Expand Up @@ -70,7 +69,7 @@ sylius_grid:
sortable: ~
options:
template: "@BitBagSyliusShippingExportPlugin/ShippingExport/Grid/Field/shippingExportLabel.html.twig"
parcel_template:
parcelTemplate:
type: twig
label: bitbag_sylius_inpost_plugin.ui.parcel_template.label
path: .
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
http://doctrine-project.org/schemas/orm/doctrine-mapping.xsd"
>
<entity name="Tests\BitBag\SyliusInPostPlugin\Application\src\Entity\ShippingExport" table="bitbag_shipping_export">
<field name="parcel_template" nullable="true" />
<field name="parcelTemplate" nullable="true" />
</entity>
</doctrine-mapping>