close #651 Fixed: Invoice/Bill create page, if you add new tax. it missing tax type column

This commit is contained in:
cuneytsenturk
2018-11-29 11:47:20 +03:00
parent 3fac930d80
commit 1d63b2d85a
7 changed files with 26 additions and 4 deletions

View File

@ -27,7 +27,13 @@ class Taxes extends Controller
*/
public function create()
{
$html = view('modals.taxes.create')->render();
$types = [
'normal' => trans('taxes.normal'),
'inclusive' => trans('taxes.inclusive'),
'compound' => trans('taxes.compound'),
];
$html = view('modals.taxes.create', compact('types'))->render();
return response()->json([
'success' => true,