parent
3983f792b7
commit
55746966c0
3 changed files with 7 additions and 7 deletions
|
@ -1162,11 +1162,11 @@ class ConfigProvider
|
|||
|
||||
public static function getTrackNumberStatus()
|
||||
{
|
||||
return static::getOption(Constants::DISPLAY_TRACK_NUMBER_DELIVERY);
|
||||
return static::getOption(Constants::RECEIVE_TRACK_NUMBER_DELIVERY);
|
||||
}
|
||||
|
||||
public static function setTrackNumberStatus($trackNumberStatus)
|
||||
{
|
||||
static::setOption(Constants::DISPLAY_TRACK_NUMBER_DELIVERY, $trackNumberStatus);
|
||||
static::setOption(Constants::RECEIVE_TRACK_NUMBER_DELIVERY, $trackNumberStatus);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -105,5 +105,5 @@ class Constants
|
|||
];
|
||||
public const SITES_AVAILABLE = 'sites_available';
|
||||
|
||||
public const DISPLAY_TRACK_NUMBER_DELIVERY = 'receive_track_number_delivery';
|
||||
public const RECEIVE_TRACK_NUMBER_DELIVERY = 'receive_track_number_delivery';
|
||||
}
|
||||
|
|
|
@ -2249,18 +2249,18 @@ if (isset($_POST['Update']) && ($_POST['Update'] === 'Y')) {
|
|||
<tr>
|
||||
<td colspan="2" class="option-head option-other-top option-other-bottom">
|
||||
<b>
|
||||
<label><input class="addr" type="checkbox" name="order-vat" value="Y" <?php if ($optionsOrderVat === 'Y') {
|
||||
<label><input class="addr" type="checkbox" name="track-number" value="Y" <?php if ($optionsOrderTrackNumber === 'Y') {
|
||||
echo "checked";
|
||||
} ?>> <?php echo GetMessage('ORDER_VAT'); ?></label>
|
||||
} ?>> <?php echo GetMessage('ORDER_TRACK_NUMBER'); ?></label>
|
||||
</b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" class="option-head option-other-top option-other-bottom">
|
||||
<b>
|
||||
<label><input class="addr" type="checkbox" name="track-number" value="Y" <?php if ($optionsOrderTrackNumber === 'Y') {
|
||||
<label><input class="addr" type="checkbox" name="order-vat" value="Y" <?php if ($optionsOrderVat === 'Y') {
|
||||
echo "checked";
|
||||
} ?>> <?php echo GetMessage('ORDER_TRACK_NUMBER'); ?></label>
|
||||
} ?>> <?php echo GetMessage('ORDER_VAT'); ?></label>
|
||||
</b>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
Loading…
Add table
Reference in a new issue