%PDF- %PDF-
Direktori : /var/www/pjc/app/Http/Livewire/ |
Current File : /var/www/pjc/app/Http/Livewire/SommaMese.php |
<?php namespace App\Http\Livewire; use Livewire\Component; class SommaMese extends Component { public $somma; public $mese; public $settore; protected $listeners = ['calcolo' => 'calcoloMese']; public function mount($m,$s) { $this->mese = $m; $this->settore = $s; $this->calcoloMese($m,$s); } public function calcoloMese() { $this->somma = \App\pianficazioneutente::meseOre( $this->mese , $this->settore); } public function render() { return view('livewire.somma-mese'); } }