refs #1147 Bill item create inline feature.

This commit is contained in:
Cüneyt Şentürk
2020-01-21 17:17:05 +03:00
parent a8522812b2
commit 650f7f1273
6 changed files with 55 additions and 55 deletions

View File

@ -90,7 +90,7 @@ class Bills extends Controller
$currency = Currency::where('code', setting('default.currency'))->first();
$items = Item::enabled()->orderBy('name')->pluck('name', 'id');
$items = Item::enabled()->orderBy('name')->get();
$taxes = Tax::enabled()->orderBy('name')->get()->pluck('title', 'id');
@ -184,7 +184,7 @@ class Bills extends Controller
$currency = Currency::where('code', $bill->currency_code)->first();
$items = Item::enabled()->orderBy('name')->pluck('name', 'id');
$items = Item::enabled()->orderBy('name')->get();
$taxes = Tax::enabled()->orderBy('name')->get()->pluck('title', 'id');
@ -225,7 +225,7 @@ class Bills extends Controller
/**
* Remove the specified resource from storage.
*
* @param $id
* @param $bill
*
* @return Response
*/