industry taxes testing
This commit is contained in:
@@ -45,7 +45,7 @@ class StructureController extends Controller
|
|||||||
$tax = StructureIndustryTaxJournal::select('amount')
|
$tax = StructureIndustryTaxJournal::select('amount')
|
||||||
->whereBetween('date', [$date['start'], $date['end']])
|
->whereBetween('date', [$date['start'], $date['end']])
|
||||||
->sum('amount');
|
->sum('amount');
|
||||||
$taxes[] = ['date' => $date['start'], 'tax' => $tax];
|
$taxes[] = ['date' => $date['start'], 'tax' => number_format($tax, 2, '.', ',')];
|
||||||
}
|
}
|
||||||
|
|
||||||
return view('structures.industrytaxes')->with('taxes', $taxes);
|
return view('structures.industrytaxes')->with('taxes', $taxes);
|
||||||
|
|||||||
Reference in New Issue
Block a user