Skip to content

Commit

Permalink
PAYOSWXP-135: capture/refund: add line-item details
Browse files Browse the repository at this point in the history
  • Loading branch information
rommelfreddy authored and janteuber committed Aug 15, 2024
1 parent 4560b8d commit 8262c59
Show file tree
Hide file tree
Showing 58 changed files with 40 additions and 979 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ export default {
unit_price: orderItem.unitPrice,
selected: false,
product: orderItem.label,
orderItem: orderItem,
disabled: qty <= 0,
};
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,24 @@
:showSelection="true"
@selection-change="updateSelection"
:isRecordSelectable="(item) => !item.disabled"
:compactMode="false"
>
<template #column-product="{ item, isInlineEdit }">
<div>
<div><span>{{ item.product }}</span></div>
<div>
<small style="line-height: 1;" v-if="item.orderItem && item.orderItem.payload">
<div v-if="item.orderItem.payload.options">
<span>{{ $tc('sw-order.payone-payment.modal.productOptions') }}:</span>
<span v-for="option, index in item.orderItem.payload.options">
{{ option.group }}: {{ option.option }}<template v-if="index < item.orderItem.payload.options.length - 1">, </template>
</span>
</div>
<div>{{ $tc('sw-order.payone-payment.modal.productNumber') }}: {{ item.orderItem.payload.productNumber }}</div>
</small>
</div>
</div>
</template>
<template #column-quantity="{ item, isInlineEdit }">
<sw-number-field
v-model:value="item.quantity"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ export default {
unit_price: orderItem.unitPrice,
selected: false,
product: orderItem.label,
orderItem: orderItem,
disabled: qty <= 0,
};
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,9 @@
"product": "Produkt",
"quantity": "Anzahl",
"price": "Preis"
}
},
"productNumber": "Nummer",
"productOptions": "Optionen"
},
"general": {
"cardTitle": "Allgemein"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,9 @@
"product": "Product",
"quantity": "Quantity",
"price": "Price"
}
},
"productNumber": "Number",
"productOptions": "Options"
},
"general": {
"cardTitle": "General"
Expand Down
911 changes: 1 addition & 910 deletions src/Resources/public/administration/js/payone-payment.js

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions src/Resources/public/static/css/170.css
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
.payone-order-items .sw-data-grid__bulk{display:none}

/*# sourceMappingURL=170.css.map*/
1 change: 0 additions & 1 deletion src/Resources/public/static/css/170.css.map

This file was deleted.

2 changes: 0 additions & 2 deletions src/Resources/public/static/css/279.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion src/Resources/public/static/css/279.css.map

This file was deleted.

2 changes: 0 additions & 2 deletions src/Resources/public/static/css/651.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion src/Resources/public/static/css/651.css.map

This file was deleted.

2 changes: 0 additions & 2 deletions src/Resources/public/static/css/711.css
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
.payone-payment-plugin-icon{height:100%}

/*# sourceMappingURL=711.css.map*/
1 change: 0 additions & 1 deletion src/Resources/public/static/css/711.css.map

This file was deleted.

2 changes: 0 additions & 2 deletions src/Resources/public/static/css/811.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion src/Resources/public/static/css/811.css.map

This file was deleted.

2 changes: 0 additions & 2 deletions src/Resources/public/static/css/907.css
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
.payone-ratepay-profiles .sw-alert{margin:20px auto;width:100%}

/*# sourceMappingURL=907.css.map*/
1 change: 0 additions & 1 deletion src/Resources/public/static/css/907.css.map

This file was deleted.

2 changes: 0 additions & 2 deletions src/Resources/public/static/css/942.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion src/Resources/public/static/css/942.css.map

This file was deleted.

2 changes: 0 additions & 2 deletions src/Resources/public/static/css/992.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 8262c59

Please sign in to comment.