<?php

namespace App\Http\Controllers\Admin\Finance\COD;

use App\Http\Controllers\Controller;
use Illuminate\Http\Request;

class CODController extends Controller
{
    public function index()
    {
        return view('admin.finance.cod.index');
    }

    public function dailyCollection()
    {
        return view('admin.finance.cod.daily-collection');
    }

    public function deposits()
    {
        return view('admin.finance.cod.deposits');
    }

    public function pendingReport()
    {
        return view('admin.finance.cod.pending-report');
    }

    public function varianceReport()
    {
        return view('admin.finance.cod.variance-report');
    }

    public function storeDeposit(Request $request)
    {
        // Store deposit logic
        return redirect()->back()->with('success', 'Deposit recorded successfully');
    }
}
