| 1234567891011121314151617 |
- <?php
- function bm_show_document() {
- Lib::loadClass('TableAcl');
- Lib::loadClass('UserAcl');
- Lib::loadClass('Billing_html');
- $idDocument = V::get('ARG1_VAL', 0, $_REQUEST, 'int');
- if ($idDocument <= 0) {
- echo '<div class="alert alert-danger">Błędny numer dokumentu!</div>';
- exit;
- }
- $billing = new Billing_html('931');
- $billing->bm_show_document($idDocument);
- exit;
- }
|