Removed redundant functions from Invoice, optimised Invoice tables
This commit is contained in:
@@ -97,7 +97,7 @@ class AdminController extends Controller
|
||||
if (collect($value)->sum() > $request->post('total_amt'))
|
||||
$fail('Allocation is greater than payment total.');
|
||||
}],
|
||||
'invoices.*.id' => 'nullable|exists:ab_invoice,id',
|
||||
'invoices.*.id' => 'nullable|exists:invoices,id',
|
||||
]);
|
||||
|
||||
if (! $o->exists) {
|
||||
|
Reference in New Issue
Block a user