mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-11 21:52:35 +01:00
20 lines
406 B
PHP
20 lines
406 B
PHP
|
<?php namespace App\Http\Requests;
|
||
|
|
||
|
class InvoiceRequest extends EntityRequest {
|
||
|
|
||
|
protected $entityType = ENTITY_INVOICE;
|
||
|
|
||
|
/*
|
||
|
public function entity()
|
||
|
{
|
||
|
$expense = parent::entity();
|
||
|
|
||
|
// eager load the contacts
|
||
|
if ($expense && ! count($expense->documents)) {
|
||
|
$expense->load('documents');
|
||
|
}
|
||
|
|
||
|
return $expense;
|
||
|
}
|
||
|
*/
|
||
|
}
|