DB::connection()->enableQueryLog();
$purse = Purse::where('purse_name', $request->trans_pay_purse_name)->first();
if ($purse) {
$purse->decrement('purse_balance', $request->trans_pay_sum);
$purse->save();
} else {
return redirect()->back()->withInput()->with('error', 'Кошелек не найден!');
}