Skip to content

Commit

Permalink
- fixed some price alignment, not specifically to the right, but at l…
Browse files Browse the repository at this point in the history
…east in line with each others TH;

- even though Oro's right aligment did work, it only worked with a 'crowed' table, as soon as only a few columns are in the grid, the whole things 'falls apart' and are not actually aligned to the right
  • Loading branch information
24198 committed Jul 2, 2020
1 parent 32f7b4c commit b6d7f17
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -334,37 +334,31 @@ datagrids:
type: localized_number
method: formatCurrency
context_resolver: Marello\Bundle\DataGridBundle\Grid\FormatterContextResolver::getRootResolverCurrencyClosure
align: right
originalPriceInclTax:
label: marello.order.orderitem.original_price_incl_tax.label
type: localized_number
method: formatCurrency
context_resolver: Marello\Bundle\DataGridBundle\Grid\FormatterContextResolver::getRootResolverCurrencyClosure
align: right
originalPriceExclTax:
label: marello.order.orderitem.original_price_excl_tax.label
type: localized_number
method: formatCurrency
context_resolver: Marello\Bundle\DataGridBundle\Grid\FormatterContextResolver::getRootResolverCurrencyClosure
align: right
tax:
label: marello.order.orderitem.tax.label
type: localized_number
method: formatCurrency
context_resolver: Marello\Bundle\DataGridBundle\Grid\FormatterContextResolver::getRootResolverCurrencyClosure
align: right
rowTotalInclTax:
label: marello.order.orderitem.total_price_incl_tax.label
type: localized_number
method: formatCurrency
context_resolver: Marello\Bundle\DataGridBundle\Grid\FormatterContextResolver::getRootResolverCurrencyClosure
align: right
rowTotalExclTax:
label: marello.order.orderitem.total_price_excl_tax.label
type: localized_number
method: formatCurrency
context_resolver: Marello\Bundle\DataGridBundle\Grid\FormatterContextResolver::getRootResolverCurrencyClosure
align: right
status:
label: marello.order.orderitem.status.label
frontend_type: string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,19 +29,16 @@ datagrids:
type: localized_number
method: formatCurrency
context_resolver: Marello\Bundle\DataGridBundle\Grid\FormatterContextResolver::getResolverCurrencyClosure
align: right
specialPrice:
label: marello.pricing.assembledpricelist.special_price.label
type: localized_number
method: formatCurrency
context_resolver: Marello\Bundle\DataGridBundle\Grid\FormatterContextResolver::getResolverCurrencyClosure
align: right
msrpPrice:
label: marello.pricing.assembledpricelist.msrp_price.label
type: localized_number
method: formatCurrency
context_resolver: Marello\Bundle\DataGridBundle\Grid\FormatterContextResolver::getResolverCurrencyClosure
align: right
sorters:
columns:
currency: { data_name: apl.currency }
Expand Down Expand Up @@ -85,13 +82,11 @@ datagrids:
type: localized_number
method: formatCurrency
context_resolver: Marello\Bundle\DataGridBundle\Grid\FormatterContextResolver::getResolverCurrencyClosure
align: right
specialPrice:
label: marello.pricing.assembledpricelist.special_price.label
type: localized_number
method: formatCurrency
context_resolver: Marello\Bundle\DataGridBundle\Grid\FormatterContextResolver::getResolverCurrencyClosure
align: right
sorters:
columns:
channelName: { data_name: sc.name }
Expand Down Expand Up @@ -127,7 +122,6 @@ datagrids:
type: localized_number
method: formatCurrency
context_resolver: Marello\Bundle\DataGridBundle\Grid\FormatterContextResolver::getResolverCurrencyClosure
align: right
sorters:
columns:
currency: { data_name: productPrice.currency }
Expand Down Expand Up @@ -168,7 +162,6 @@ datagrids:
type: localized_number
method: formatCurrency
context_resolver: Marello\Bundle\DataGridBundle\Grid\FormatterContextResolver::getResolverCurrencyClosure
align: right
sorters:
columns:
channelName: { data_name: salesChannel.name }
Expand Down

0 comments on commit b6d7f17

Please sign in to comment.