|
|
@@ -375,11 +375,14 @@ class IssueController extends Controller
|
|
375
|
375
|
'codice' => 'INT-ORE',
|
|
376
|
376
|
'quantita' => $ore]
|
|
377
|
377
|
);
|
|
378
|
|
- $collectionIssue->push([
|
|
379
|
|
- 'nome' => "Diritto fisso di uscita - #".$issue->id." - ".$sedeCliente." - ".$data,
|
|
380
|
|
- 'codice' => 'INT-USC',
|
|
381
|
|
- 'quantita' => 1]
|
|
382
|
|
- );
|
|
|
378
|
+
|
|
|
379
|
+ if($tempo->activity_id == Config::getValue(Config::ATTIVITA_ON_SITE)){
|
|
|
380
|
+ $collectionIssue->push([
|
|
|
381
|
+ 'nome' => "Diritto fisso di uscita - #".$issue->id." - ".$sedeCliente." - ".$data,
|
|
|
382
|
+ 'codice' => 'INT-USC',
|
|
|
383
|
+ 'quantita' => 1]
|
|
|
384
|
+ );
|
|
|
385
|
+ }
|
|
383
|
386
|
}
|
|
384
|
387
|
|
|
385
|
388
|
foreach($tempoImpiegatoRemota as $tempo){
|