This commit is contained in:
Utkarsh Khedkar
2026-03-12 12:34:49 +05:30
4 changed files with 100 additions and 219 deletions

View File

@@ -444,8 +444,10 @@ class AdminInvoiceController extends Controller
'grand_total_with_charges'=> $invoice->grand_total_with_charges,
]);
return redirect()
->back()
->with('success', 'Charge group saved successfully.');
return response()->json([
'success' => true,
'message' => 'Charge group saved successfully.',
'group_id' => $group->id,
]);
}
}