Add php files
This commit is contained in:
16
modules/EcmFkVatKinds/previewPDF.php
Executable file
16
modules/EcmFkVatKinds/previewPDF.php
Executable file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
require_once 'modules/EcmFkVatKinds/EcmFkVatKind.php';
|
||||
$focus = new EcmFkVatKind();
|
||||
|
||||
if($record = $_REQUEST['record']) {
|
||||
$focus->retrieve($record);
|
||||
}
|
||||
|
||||
switch($type = strtolower(@$_GET['type'])) {
|
||||
default:
|
||||
$focus->getPDF($type);
|
||||
break;
|
||||
}
|
||||
|
||||
exit;
|
||||
Reference in New Issue
Block a user