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.
19 lines
378 B
19 lines
378 B
<?php
|
|
|
|
namespace App\Http\Controllers;
|
|
|
|
use App\Entities\Invoices\Invoice;
|
|
use Illuminate\Http\Request;
|
|
|
|
class InvoicesController extends Controller
|
|
{
|
|
public function show(Invoice $invoice)
|
|
{
|
|
return view('invoices.show', compact('invoice'));
|
|
}
|
|
|
|
public function pdf(Invoice $invoice)
|
|
{
|
|
return view('invoices.pdf', compact('invoice'));
|
|
}
|
|
}
|