You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
580 B
27 lines
580 B
<?php
|
|
|
|
namespace App\Http\Controllers\Projects;
|
|
|
|
use App\Entities\Projects\Project;
|
|
use App\Http\Controllers\Controller;
|
|
|
|
/**
|
|
* Project Invoices Controller.
|
|
*
|
|
* @author Nafies Luthfi <nafiesL@gmail.com>
|
|
*/
|
|
class InvoicesController extends Controller
|
|
{
|
|
/**
|
|
* Invoice list of a project.
|
|
*
|
|
* @param \App\Entities\Projects\Project $project
|
|
* @return \Illuminate\View\View
|
|
*/
|
|
public function index(Project $project)
|
|
{
|
|
$this->authorize('view-invoices', $project);
|
|
|
|
return view('projects.invoices', compact('project'));
|
|
}
|
|
}
|