<?php

namespace App\Http\Controllers\Administrator;

use App\AgencyLevelModel;
use App\CommissionItemModel;
use App\CommissionModel;
use App\FundsRegisterModel;
use App\Http\Controllers\Controller;

use Illuminate\Http\Request;
use Auth;
use Illuminate\Support\Facades\Crypt;
use Phanna\Converter\KhmerDatetime;
use App\ClientModel;
use App\ItemModel;
use App\ProjectModel;
use App\DepositScheduleModel;
use App\CategoryModel;
use App\SaleStockModel;
use App\DepositModel;
use App\ExternalClientPaymentModel;
use App\BranchModel;
use App\Classes\Commission;
use App\Classes\AgencyCommission;
use DB;
use Session;
use DataTables;
use App\AppEditPOS;
use App\LoanModel;
use App\SaleStockDetailModel;
use App\VillageModel;
use Gate;
use App\User;
use App\ClientRelationshipModel;

class RequestLatterController extends Controller
{
    function __construct()
    {
//        $this->middleware('permission:Deposit-Report-List', ['only' => ['report_booking']]);
//        $this->middleware('permission:Collect-Deposit-Report-List', ['only' => ['report_collect_deposit']]);
//        $this->middleware('permission:Report-Print-Deposit-List', ['only' => ['report_collect_deposit_to_print']]);
//        $this->middleware('permission:Client-Contract-Report', ['only' => ['client_contract']]);
//        $this->middleware('permission:Deposit-List', ['only' => ['index', 'datatable_get_client_deposit']]);
//        // $this->middleware('permission:External-Deposit-Print', ['only' => ['show']]);
//        $this->middleware('permission:Client-Cancellation', ['only' => ['index_cancellation']]);
//        $this->middleware('permission:Report-Print-Deposit-Cancel', ['only' => ['delete_deposit_print']]);
//        $this->middleware('permission:Report-Print-Deposit-print', ['only' => ['collect_deposit_print']]);
    }

    public function request_show_latter1()
    {
        return view('administrator.request-latter.request_latter_1');
    }

    public function request_show_latter2()
    {
        return view('administrator.request-latter.request_latter_2');
    }

    public function request_show_latter3()
    {
        return view('administrator.request-latter.request_latter_3');
    }

    public function request_show_latter4()
    {
        return view('administrator.request-latter.request_latter_4');
    }
}
