Exemplo n.º 1
0
?>
 <?php 
echo $disabled;
?>
></td>
          <td>&nbsp;</td>
         </tr>
        <tr>
            <td><span class=text><?php 
xl('POS Code', 'e');
?>
: </span></td>
            <td colspan="6">
                <select name="pos_code">
                <?php 
$pc = new POSRef();
foreach ($pc->get_pos_ref() as $pos) {
    echo "<option value=\"" . $pos["code"] . "\" ";
    echo ">" . $pos['code'] . ": " . $pos['title'];
    echo "</option>\n";
}
?>
                </select>
            </td>
        </tr>
        <tr>
            <td><span class="text"><?php 
xl('Billing Attn', 'e');
?>
:</span></td>
            <td colspan="4"><input type="text" name="attn" size="45"></td>
Exemplo n.º 2
0
 function __construct($state = "")
 {
     $this->pos_ref = array();
     $this->pos_ref = POSRef::init_pos();
     $this->pos_ref = array_merge($this->pos_ref, $this->state_overides($state));
 }