This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from "react"; | |
import { TextField, Button, Stack } from "@mui/material"; | |
import { useForm } from "react-hook-form"; | |
import { DevTool } from "@hookform/devtools"; | |
const RequestForm = () => { | |
const form = useForm({ | |
defaultValues: { | |
email: "", | |
password: "", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
import { Component, Prop, Emit } from 'vue-property-decorator' | |
import Vue from 'vue' | |
import L from 'leaflet'; | |
@Component | |
export default class LeafletCircle extends Vue { | |
@Prop() map |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Previous month | |
return Model::where('created_at', '>=', Carbon::now()->startOfMonth()->subMonth()) | |
->where('created_at', '<=', Carbon::now()->startOfMonth()->subMonth()->endOfMonth()) | |
->get(); | |
// Current Month | |
return Model::where('created_at', '>=', Carbon::now()->startOfMonth() |