Offers can be changed in the backend

This commit is contained in:
2019-06-11 13:54:21 +02:00
parent 40b88859cd
commit e3008b8789
4 changed files with 58 additions and 19 deletions

View File

@@ -78,9 +78,10 @@ defined('_JEXEC') or die;
<?php if(! $this->isNew): ?>
<h2>Angebote</h2>
<?php foreach($this->object->getOffers() as $oconf): ?>
<input type='checkbox' name='offers' value='<?php echo $oconf['offer']->getId(); ?>' <?php if($oconf['valid']) echo 'checked="checked"';?>>
<input type='checkbox' name='offers[]' value='<?php echo $oconf['offer']->getId(); ?>' <?php if($oconf['valid']) echo 'checked="checked"';?>>
<?php echo htmlentities($oconf['offer']->getName()); ?><br />
<?php endforeach; ?>
<h2>Posten</h2>
<table width='100%' class='table table-stiped, table-hover'>
<tr>