Remove more references to ab_account, Docker build tweaks, Fix error rendering charges

This commit is contained in:
Deon George
2021-07-19 16:23:38 +10:00
parent 8b08f79877
commit f22813bb5b
5 changed files with 8 additions and 8 deletions

View File

@@ -25,12 +25,12 @@ class AdminController extends Controller
{
if ($request->post()) {
$validation = $request->validate([
'account_id' => 'required|exists:ab_account,id',
'account_id' => 'required|exists:accounts,id',
'date_payment' => 'required|date',
'checkout_id' => 'required|exists:ab_checkout,id',
'total_amt' => 'required|numeric|min:0.01',
'fees_amt' => 'nullable|numeric|lt:total_amt',
'source_id' => 'nullable|exists:ab_account,id',
'source_id' => 'nullable|exists:accounts,id',
'pending' => 'nullable|boolean',
'notes' => 'nullable|string',
'ip' => 'nullable|ip',