Your IP : 216.73.216.91


Current Path : /var/www/html/LLCF-APP/app/Exports/
Upload File :
Current File : /var/www/html/LLCF-APP/app/Exports/VtcAttendenceExport.php

<?php

namespace App\Exports;

use Illuminate\Contracts\View\View;
use Maatwebsite\Excel\Concerns\FromView;

class VtcAttendenceExport implements FromView
{
    protected $vtcAttendences;

    /**
     * Create a new export instance.
     *
     * @param  mixed  $vtcAttendences
     */
    public function __construct($vtcAttendences)
    {
        $this->vtcAttendences = $vtcAttendences;
    }

    /**
     * Return a view for the Excel export.
     */
    public function view(): View
    {
        return view('admin.vtc_attendance.exports.excel', [
            'vtcAttendences' => $this->vtcAttendences,
        ]);
    }
}