Dodanie obsługi punktów Orlen w zamówieniach oraz poprawa logiki i formatowania w różnych plikach

This commit is contained in:
2024-11-16 10:54:33 +01:00
parent a91d37736d
commit 49f8a3f8a0
25 changed files with 946 additions and 422 deletions

View File

@@ -76,6 +76,9 @@
$min = (int) $this -> sales_grid[$j][$i];
}
}
if ( $max == 0 )
$max = 1;
?>
<div class="table-responsive">
<table class="sales-grid table">

View File

@@ -131,13 +131,12 @@ ob_start();
'id' => 'free_delivery',
'value' => $this -> settings['free_delivery']
] );?>
<?= \Html::textarea( [
'label' => 'Ankieta Ekomi',
'name' => 'ekomi_survey',
'id' => 'ekomi_survey',
'value' => $this -> settings['ekomi_survey'],
'rows' => 10
] );?>
<?= \Html::input( [
'label' => 'Orlen Paczka map token',
'name' => 'orlen_paczka_map_token',
'id' => 'orlen_paczka_map_token',
'value' => $this -> settings['orlen_paczka_map_token']
] );?>
</div>
<div>
<div id="languages-main">

View File

@@ -42,6 +42,10 @@ ob_start();
<? $paczkomat = explode( '|', $this -> order[ 'inpost_paczkomat' ] );?>
<div>Paczkomat: <b id="order-paczkomat"><?= $paczkomat[0];?></b> | <?= $paczkomat[1];?> <i class="fa fa-copy" onclick="copyToClipboard( 'order-paczkomat' ); return false;"></i></div>
<? endif;?>
<? if ( $this -> order['transport_id'] == 9 and $this -> order[ 'orlen_point' ] ):?>
<? $orlen = explode( '|', $this -> order[ 'orlen_point' ] );?>
<div>Punkt Orlen: <b id="order-orlen"><?= $orlen[0];?></b> | <?= $orlen[1];?> <i class="fa fa-copy" onclick="copyToClipboard( 'order-orlen' ); return false;"></i></div>
<? endif;?>
<br/>
<div>
<b><?= $this -> order[ 'payment_method' ];?> </b>