mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/izyim-api.git
synced 2026-08-19 04:24:01 +00:00
remove duplicate line of code
This commit is contained in:
@@ -32,11 +32,6 @@ class DeliveryinfoController extends Controller
|
||||
{
|
||||
$deliveryinfo = Deliveryinfo::where('com_id', Auth::user()->company())->where('id', $id)->first();
|
||||
|
||||
$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())
|
||||
->get();
|
||||
|
||||
return response()->json($deliveryinfo, 200);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user