generateBilling.php 1 location
|
@@ 105-107 (lines=3) @@
|
| 102 |
|
$billHandler = new CreatePilotYearBillCommandHandler($db, $conf->global, $user, $langs, $flightTypes); |
| 103 |
|
|
| 104 |
|
// Access control |
| 105 |
|
if (!$conf->facture->enabled || !$user->rights->flightlog->vol->status || !$user->rights->flightlog->vol->financialGenerateDocuments) { |
| 106 |
|
accessforbidden(); |
| 107 |
|
} |
| 108 |
|
|
| 109 |
|
// Default action |
| 110 |
|
if (empty($action)) { |
generateExpenseNote.php 1 location
|
@@ 60-62 (lines=3) @@
|
| 57 |
|
$vatrate = "0.000"; |
| 58 |
|
|
| 59 |
|
// Access control |
| 60 |
|
if (!$conf->expensereport->enabled || !$user->rights->flightlog->vol->status || !$user->rights->flightlog->vol->financialGenerateDocuments) { |
| 61 |
|
accessforbidden(); |
| 62 |
|
} |
| 63 |
|
|
| 64 |
|
// Default action |
| 65 |
|
if (empty($action)) { |
facture.php 1 location
|
@@ 103-105 (lines=3) @@
|
| 100 |
|
$vatrate = "0.000"; |
| 101 |
|
|
| 102 |
|
// Access control |
| 103 |
|
if (!$conf->facture->enabled || !$user->rights->flightlog->vol->financial || !$user->rights->flightlog->vol->financialGenerateDocuments) { |
| 104 |
|
accessforbidden(); |
| 105 |
|
} |
| 106 |
|
|
| 107 |
|
// Default action |
| 108 |
|
if (empty($action)) { |
generateMonthlyBilling.php 1 location
|
@@ 81-83 (lines=3) @@
|
| 78 |
|
//service |
| 79 |
|
|
| 80 |
|
// Access control |
| 81 |
|
if (!$conf->facture->enabled || !$user->rights->flightlog->vol->status || !$user->rights->flightlog->vol->financialGenerateDocuments) { |
| 82 |
|
accessforbidden(); |
| 83 |
|
} |
| 84 |
|
|
| 85 |
|
// Default action |
| 86 |
|
if (empty($action)) { |