feat: Add integrations dropdown and toggle functionality for trustmate.io orders

- Introduced a new dropdown button for integrations in the order details page.
- Implemented functionality to resend orders to apilo.com and toggle trustmate.io status.
- Enhanced the order details template with new dropdown menu and JavaScript for handling dropdown behavior.
- Added new textarea for producer data in the producer edit page with CKEditor integration.
- Updated product edit page to include GPSR information with textarea and CKEditor.
- Improved update process with detailed logging and error handling during version updates.
- Updated version number to 0.233.
This commit is contained in:
2026-01-27 23:46:34 +01:00
parent 45031fb4ad
commit 4f95821342
10 changed files with 471 additions and 67 deletions

View File

@@ -70,8 +70,20 @@ ob_start();
'value' => $this -> producer['languages'][$lg[ 'id']]['description'],
'inline' => true
] );?>
<?= \Html::textarea( [
'label' => 'Dane producenta',
'name' => 'data[' . $lg['id'] . ']',
'id' => 'data_' . $lg['id'],
'value' => $this -> producer['languages'][$lg[ 'id']]['data'],
'inline' => true
] );?>
<script type="text/javascript">
$(function () {
$( '#data_<?= $lg[ 'id' ];?>').ckeditor({
toolbar: 'MyToolbar',
height: '250'
});
$( '#description_<?= $lg[ 'id' ];?>').ckeditor({
toolbar: 'MyToolbar',
height: '250'