예제 #1
0
<?php

session_start();
error_reporting(E_ERROR && ~E_NOTICE);
if ($_GET['case'] && $_GET['waluta']) {
    require "../include/conf.inc.php";
    require "../include/db.inc.php";
    require "../include/fc.inc.php";
    require "../include/const.inc.php";
    $string = cbox('faktura', faktury($_GET['case'], $_GET['waluta'], 0), faktury($_GET['case'], $_GET['waluta'], 1), 'ret=1', '<br>');
    echo $string;
} else {
    echo '';
}
예제 #2
0
<?php

session_start();
error_reporting(E_ERROR && ~E_NOTICE);
if ($_GET['case']) {
    require "../include/conf.inc.php";
    require "../include/db.inc.php";
    require "../include/fc.inc.php";
    require "../include/const.inc.php";
    $_frn = faktury($_GET['case'], 'PLN', 0);
    $frn = faktury($_GET['case'], 'PLN', 1);
    foreach ($_frn as $i => $value) {
        $string .= "<option value=\"{$value}\">" . $frn[$i] . "\n";
    }
    echo $string;
} else {
    echo '';
}
예제 #3
0
    ?>
  <?php 
    print hidden("pi_debtor_id_k", $X['ca_debtor_id_k']);
    ?>
  <tr><td width='60%'>&nbsp;Data wpłaty *<i>(format dd.mm.yyyy)</i></td><td><?php 
    print input('pi_date_d', '', 'w=85', '', "onBlur='javascript: ValidateDate(this);'") . '<img id="pi_date_d_handle" src="./js/calendar/img.gif" border="0" alt="Kalendarz" style="vertical-align: middle; cursor: pointer;"> ';
    ?>
</td></tr>
  <tr><td>&nbsp;Kwota *</td><td><?php 
    print input('pi_amount_f', 0, 'w=100 m=12 cl=p13r', '', 'onKeyUp="comma(this)"');
    ?>
</td></tr>
  <tr><td>&nbsp;Waluta</td><td><?php 
    print select('pi_currency_e', $_currencies, $currencies, 'PLN');
    ?>
</td></tr>
  <tr><td>&nbsp;Zobowiązania</td><td><div id="faktury_wplaty"><?php 
    print cbox('faktura', faktury($caID, 'PLN', 0), faktury($caID, 'PLN', 1), '', '<br>');
    ?>
</div></td></tr>
  <tr><td colspan=2><center><?php 
    print submit('Dodaj wpłatę', 'add_wplata');
    ?>
 <a id='cancel_case' style="cursor:pointer">Wstecz</a></center></td></tr>
  </table>
  <script type="text/javascript"><?php 
    print print_calendar('pi_date_d', 'pi_date_d_handle');
    ?>
</script>
<?php 
}