Skip to content

Commit

Permalink
Unnecessary currency model remove..
Browse files Browse the repository at this point in the history
  • Loading branch information
cuneytsenturk committed May 1, 2020
1 parent fbdcf42 commit aad139d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions app/Http/Controllers/Common/Items.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,7 @@ public function create()

$taxes = Tax::enabled()->orderBy('name')->get()->pluck('title', 'id');

$currency = Currency::where('code', setting('default.currency', 'USD'))->first();

return view('common.items.create', compact('categories', 'taxes', 'currency'));
return view('common.items.create', compact('categories', 'taxes'));
}

/**
Expand Down

0 comments on commit aad139d

Please sign in to comment.