close #2155 Added: Creating new Bill&Invoice from Customer Screen

This commit is contained in:
Cüneyt Şentürk
2021-06-28 12:47:56 +03:00
parent d4507160d9
commit 85fd9ffcae
5 changed files with 24 additions and 0 deletions

View File

@ -320,4 +320,11 @@ class Customers extends Controller
return response()->json($customer);
}
public function createInvoice(Contact $customer)
{
$data['contact'] = $customer;
return redirect()->route('invoices.create')->withInput($data);
}
}