|
|
|
|
@ -28,6 +28,7 @@ use App\Models\Refund;
|
|
|
|
|
use App\Scopes\AdminProjectScope;
|
|
|
|
|
use Carbon\Carbon;
|
|
|
|
|
use Illuminate\Http\Request;
|
|
|
|
|
use Illuminate\Support\Facades\Auth;
|
|
|
|
|
use Illuminate\Support\Facades\DB;
|
|
|
|
|
use PhpOffice\PhpSpreadsheet\Spreadsheet;
|
|
|
|
|
use PhpOffice\PhpSpreadsheet\Writer\Xlsx;
|
|
|
|
|
@ -524,7 +525,7 @@ class StatisticsController extends CommonController
|
|
|
|
|
$writer->save('php://output');
|
|
|
|
|
exit;
|
|
|
|
|
}
|
|
|
|
|
$admin = auth()->user();
|
|
|
|
|
$admin = Auth::guard("admin")->user();
|
|
|
|
|
return view($this->bladePath . ".bed", compact("admin","area", "orderTotal", "totalBed", "project", "project_id", "month", "projects"));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|