示例#1
0
文件: receipt.php 项目: phpsmith/IS4C
    <td><?php 
echo InstallUtilities::installCheckBoxField('CancelReceipt', 'Print receipt on canceled transaction', 1);
?>
</td>
</tr>
<tr>
    <td style="width: 30%;"></td>
    <td><?php 
echo InstallUtilities::installCheckBoxField('SuspendReceipt', 'Print receipt on suspended transaction', 1);
?>
</td>
</tr>
<tr>
    <td style="width: 30%;"></td>
    <td><?php 
echo InstallUtilities::installCheckBoxField('ShrinkReceipt', 'Print receipt on shrink/DDD transaction', 1);
?>
</td>
</tr>
<tr>
    <td><b>Receipt Type</b>: </td>
    <td>
    <?php 
$receipts = array(2 => 'Modular', 1 => 'Grouped (static, legacy)', 0 => 'In Order (static, legacy)');
echo InstallUtilities::installSelectField('newReceipt', $receipts, 2);
?>
    <span class='noteTxt'>
    The Modular receipt uses the modules below to assemble the receipt's contents.
    The Grouped option groups items together in categories. The In Order option
    simply prints items in the order they were entered. The default set of modulars
    will group items in categories. The InOrder modules will print items in order.
示例#2
0
echo InstallUtilities::installSelectField('screenLines', range(9, 19), 11);
?>
    <span class='noteTxt'>Number of items to display at once</span>
    </td>
</tr>
<tr>
    <td><b>Alert Bar</b>:</td>
    <td><?php 
echo InstallUtilities::installTextField('alertBar', '');
?>
</td>
</tr>
<tr>
    <td></td>
    <td><?php 
echo InstallUtilities::installCheckBoxField('lockScreen', 'Lock screen on idle', 0);
?>
</td>
</tr>
<tr>
    <td><b>Lock Screen Timeout</b>:</td>
    <td><?php 
echo InstallUtilities::installTextField('timeout', 180000);
?>
    <span class='noteTxt'>Enter timeout in milliseconds. Default: 180000 (3 minutes)</span>
    </td>
</tr>
<tr><td>
<b>Footer Modules</b> (left to right):</td><td>
<?php 
$footer_mods = array();