Create customer from invoice and vendor from bill

This commit is contained in:
Cüneyt Şentürk
2017-11-30 02:07:00 +03:00
parent 966deefc29
commit 93402e0fd9
7 changed files with 256 additions and 2 deletions

View File

@ -187,4 +187,11 @@ class Customers extends Controller
return response()->json($customer);
}
public function customer(Request $request)
{
$customer = Customer::create($request->all());
return response()->json($customer);
}
}