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

@ -322,4 +322,11 @@ class Vendors extends Controller
return response()->json($vendor);
}
public function createBill(Contact $vendor)
{
$data['contact'] = $vendor;
return redirect()->route('bills.create')->withInput($data);
}
}