mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-18 04:20:50 +01:00
Fix minori
This commit is contained in:
parent
e146dc5d7f
commit
573a67d46a
@ -53,7 +53,7 @@ class Sessione extends Model
|
|||||||
public static function build(Intervento $intervento, Anagrafica $anagrafica, $inizio, $fine)
|
public static function build(Intervento $intervento, Anagrafica $anagrafica, $inizio, $fine)
|
||||||
{
|
{
|
||||||
if (!$anagrafica->isTipo('Tecnico')) {
|
if (!$anagrafica->isTipo('Tecnico')) {
|
||||||
throw new InvalidArgumentException();
|
throw new InvalidArgumentException("Anagrafica di tipo diverso da Tecnico");
|
||||||
}
|
}
|
||||||
|
|
||||||
$model = new static();
|
$model = new static();
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
include_once __DIR__.'/../core.php';
|
include_once __DIR__.'/../core.php';
|
||||||
|
|
||||||
if (!$notes->isEmpty()) {
|
if (!empty($notes) && !$notes->isEmpty()) {
|
||||||
echo '
|
echo '
|
||||||
<div class="box box-info direct-chat direct-chat-info">
|
<div class="box box-info direct-chat direct-chat-info">
|
||||||
<div class="box-header with-border">
|
<div class="box-header with-border">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user