FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
openstamanager/src/Common/DocumentInterface.php at master · devcode-it/openstamanager · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
devcode-it
/
openstamanager
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
87
Star
150
Code
Issues
180
Pull requests
31
Actions
Projects
Security and quality
18
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
openstamanager
/
src
/
Common
/
DocumentInterface.php
Copy path
More file actions
More file actions
Latest commit
History
History
History
65 lines (56 loc) · 2.12 KB
Breadcrumbs
openstamanager
/
src
/
Common
/
DocumentInterface.php
Copy path
File metadata and controls
65 lines (56 loc) · 2.12 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<?php
/*
* OpenSTAManager: il software gestionale open source per l'assistenza tecnica e la fatturazione
* Copyright (C) DevCode s.r.l.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
namespace
Common
;
use
Common
\
Components
\
Component
;
interface
DocumentInterface
{
/**
* Restituisce la collezione di righe e articoli con valori rilevanti per i conti.
*
* @return iterable
*/
public
function
getRighe
();
/**
* Restituisce la riga identificata dall'ID indicato.
*/
public
function
getRiga
(
$
type
,
$
id
);
/**
* Restituisce la collezione di righe e articoli con valori rilevanti per i conti, raggruppate sulla base dei documenti di provenienza.
* La chiave è la serializzazione del documento di origine, oppure null in caso non esista.
*
* @return iterable
*/
public
function
getRigheRaggruppate
();
/**
* Restituisce la direzione in relazione al flusso di denaro impostata per il documento.
*
* @return string 'entrata'|'uscita'
*/
public
function
getDirezioneAttribute
();
/**
* Metodo richiamato a seguito di modifiche sull'evasione generale delle righe del documento.
* Utilizzabile per l'impostazione automatica degli stati.
*/
public
function
triggerEvasione
(
Component
$
trigger
);
/**
* Metodo richiamato a seguito della modifica o creazione di una riga del documento.
* Utilizzabile per l'impostazione automatica di campi statici del documento.
*/
public
function
triggerComponent
(
Component
$
trigger
);
}
Back
|
FazBrowse Home
|
New Git URL