Skip to content
Permalink
Browse files

small changes

  • Loading branch information...
darfio committed Dec 19, 2017
1 parent 769ef8f commit a4e0f3ccda1b56033b3ce5b2cdf98240a623010a
@@ -24,7 +24,7 @@ public function index(Request $request)
->with('currency')
->orderBy('transaction_date', 'desc');
if ($request->has('project')) {
if ($request->has('project') && !empty($request->project)) {
$q->where('project_id', $request->project);
}
@@ -55,7 +55,7 @@ public function edit($id)
{
$transaction_type = TransactionType::findOrFail($id);
return view('transaction_types.edit', compact('transactiontype'));
return view('transaction_types.edit', compact('transaction_type'));
}
/**

0 comments on commit a4e0f3c

Please sign in to comment.
You can’t perform that action at this time.