| Server IP : 85.158.181.41 / Your IP : 216.73.217.12 Web Server : Apache System : Linux cloud9-vm129 6.1.178+1-ph #ph SMP PREEMPT_DYNAMIC Wed Jul 29 09:00:54 UTC 2026 x86_64 User : moncbefd ( 1024) PHP Version : 7.3.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/moncbefd/www.moneta.at/admin/includes/modules/mediafinanz/config/ |
Upload File : |
<?php
/* -----------------------------------------------------------------------------------------
Copyright (c) 2011 mediafinanz AG
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see http://www.gnu.org/licenses/.
---------------------------------------------------------------------------------------
* @author Marcel Kirsch
*/
if ($store)
{
$config->storeValue('orderStatusIdMarked', (int)($_POST['orderStatusIdMarked']));
$config->storeValue('overdueFees', (double)(str_replace(',', '.', $_POST['overdueFees'])));
$config->storeValue('displayClaimsCount', (int)($_POST['displayClaimsCount']));
$config->storeValue('daysUntilClaimStart', (int)($_POST['daysUntilClaimStart']));
$config->storeValue('statusUpdateInterval', (int)($_POST['statusUpdateInterval']));
$config->storeValue('daysFromLastReminder', (int)($_POST['daysFromLastReminder']));
$config->storeValue('defaultType', (int)($_POST['defaultType']));
$msg = '<strong style="font-size:14px;">##data_saved</strong>';
}
?>
<tr>
<td id="configtitle" colspan="2"><br />##claims_options</td>
</tr>
<tr>
<td class="smallText"><b>##number_of_claims_displayed</b></td>
<td class="smallText"><input type="text" name="displayClaimsCount"size="5" value="<?php echo $config->getValue('displayClaimsCount'); ?>"/></td>
</tr>
<tr>
<td class="smallText"><b>##show_order_in_claims_menu_after_x_days</b></td>
<td class="smallText"><input type="text" name="daysUntilClaimStart"size="5" value="<?php echo $config->getValue('daysUntilClaimStart'); ?>"/></td>
</tr>
<tr>
<td class="smallText"><b>##order_status_id_of_orders_to_be_transferred</b></td>
<td class="smallText"><input type="text" name="orderStatusIdMarked"size="5" value="<?php echo $config->getValue('orderStatusIdMarked'); ?>"/></td>
</tr>
<tr>
<td class="smallText"><b>##overdue_fees</b></td>
<td class="smallText"><input type="text" name="overdueFees"size="5" value="<?php echo $config->getValue('overdueFees'); ?>"/></td>
</tr>
<tr>
<td class="smallText"><b>##days_from_last_reminder</b></td>
<td class="smallText"><input type="text" name="daysFromLastReminder" size="5" value="<?php echo $config->getValue('daysFromLastReminder'); ?>"/></td>
</tr>
<tr>
<td class="smallText"><b>##default_type</b></td>
<td class="smallText">
<select name="defaultType">
<?php
switch($config->getValue('defaultType'))
{
case 1:
$val1 = 'SELECTED';
break;
case 2:
$val2 = 'SELECTED';
break;
case 3:
$val3 = 'SELECTED';
break;
default:
break;
}
echo '<option value="1" '.$val1.'>##goods_sold</option>'
. '<option value="2" '.$val2.'>##goods_sold_precharge</option>'
. '<option value="3" '.$val3.'>##services_rendered</option>';
?>
</select>
</td>
</tr>
<tr>
<td class="smallText"><b>##status_update_interval</b></td>
<td class="smallText"><input type="text" name="statusUpdateInterval" size="5" value="<?php echo $config->getValue('statusUpdateInterval'); ?>"/></td>
</tr>