|
@@ -110,41 +110,11 @@
|
|
|
<input type="hidden" name="id" value="{$id}" />
|
|
<input type="hidden" name="id" value="{$id}" />
|
|
|
|
|
|
|
|
<table class="table table-striped">
|
|
<table class="table table-striped">
|
|
|
- <thead>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <th></th>
|
|
|
|
|
- <th>{lang key='upgradecurrentconfig'}</th>
|
|
|
|
|
- <th></th>
|
|
|
|
|
- <th>{lang key='upgradenewconfig'}</th>
|
|
|
|
|
- </tr>
|
|
|
|
|
- </thead>
|
|
|
|
|
- <tbody>
|
|
|
|
|
{foreach $configoptions as $configoption}
|
|
{foreach $configoptions as $configoption}
|
|
|
<tr>
|
|
<tr>
|
|
|
- <td>{$configoption.optionname}</td>
|
|
|
|
|
- <td>
|
|
|
|
|
- {if $configoption.optiontype eq 1 || $configoption.optiontype eq 2}
|
|
|
|
|
- {$configoption.selectedname}
|
|
|
|
|
- {elseif $configoption.optiontype eq 3}
|
|
|
|
|
- {if $configoption.selectedqty}{lang key='yes'}{else}{lang key='no'}{/if}
|
|
|
|
|
- {elseif $configoption.optiontype eq 4}
|
|
|
|
|
-{debug}
|
|
|
|
|
- {$configoption.selectedqty} x {$configoption.options.0.name}
|
|
|
|
|
- {/if}
|
|
|
|
|
- </td>
|
|
|
|
|
- <td><i class="far fa-angle-double-right"></i></td>
|
|
|
|
|
<td>
|
|
<td>
|
|
|
<div class="form-group">
|
|
<div class="form-group">
|
|
|
- {if $configoption.optiontype eq 1 || $configoption.optiontype eq 2}
|
|
|
|
|
- <select name="configoption[{$configoption.id}]" class="form-control custom-select">
|
|
|
|
|
- {foreach $configoption.options as $option}
|
|
|
|
|
- {if $option.selected}<option value="{$option.id}" selected>{lang key='upgradenochange'}</option>{else}<option value="{$option.id}">{$option.nameonly} {$option.price}{/if}</option>
|
|
|
|
|
- {/foreach}
|
|
|
|
|
- </select>
|
|
|
|
|
- {elseif $configoption.optiontype eq 3}
|
|
|
|
|
- <input type="checkbox" name="configoption[{$configoption.id}]" value="1"{if $configoption.selectedqty} checked{/if}> {$configoption.options.0.name}
|
|
|
|
|
- {elseif $configoption.optiontype eq 4}
|
|
|
|
|
- {/if}
|
|
|
|
|
|
|
+
|
|
|
</div>
|
|
</div>
|
|
|
</td>
|
|
</td>
|
|
|
</tr>
|
|
</tr>
|