rename test

This commit is contained in:
Zain Fauzan Rofie Azizi
2018-06-29 11:04:37 +08:00
parent 3adfc6d309
commit 70cc220337
5 changed files with 3 additions and 14 deletions
@@ -32,11 +32,6 @@ class DeliveryinfoController extends Controller
{
$deliveryinfo = Deliveryinfo::where('com_id', Auth::user()->company())->where('id', $id)->first();
if (!$deliveryinfo)
{
return response()->json(['message'=>'Access Denied!'], 404);
}
$deliveryinfos = DB::table('deliveryinfos')
->select('id', 'branch', 'deli_info', 'address', 'city', 'postcode', 'state', 'country', 'contact_person', 'contact_person_no', 'com_id')
->where('com_id', Auth::user()->company())