File tree Expand file tree Collapse file tree 5 files changed +40
-0
lines changed Expand file tree Collapse file tree 5 files changed +40
-0
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
4
4
The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
5
5
and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
6
6
7
+ ## [ 1.1.26] - 2023-02-02
8
+ ### Added
9
+ - Aggiunto RiferimentoAmministrazione nel nodo CedentePrestatore #107 by danielebuso
10
+
7
11
## [ 1.1.25] - 2022-08-29
8
12
### Fixed
9
13
- Hotfix numero decimali quantità linea #103 by danielebuso
Original file line number Diff line number Diff line change @@ -123,6 +123,14 @@ public function setIscrizioneRea(IscrizioneRea $iscrizioneRea)
123
123
$ this ->fatturaElettronicaHeader ->cedentePrestatore ->setIscrizioneRea ($ iscrizioneRea );
124
124
}
125
125
126
+ /**
127
+ * @param string $riferimentoAmministrazione
128
+ */
129
+ public function setRiferimentoAmministrazione ($ riferimentoAmministrazione )
130
+ {
131
+ $ this ->fatturaElettronicaHeader ->cedentePrestatore ->setRiferimentoAmministrazione ($ riferimentoAmministrazione );
132
+ }
133
+
126
134
/**
127
135
* Verifica l'xml della fattura
128
136
* @return bool
Original file line number Diff line number Diff line change @@ -106,4 +106,12 @@ public function setIscrizioneRea(IscrizioneRea $iscrizioneRea)
106
106
{
107
107
$ this ->fatturaElettronicaHeader ->cedentePrestatore ->setIscrizioneRea ($ iscrizioneRea );
108
108
}
109
+
110
+ /**
111
+ * @param string $riferimentoAmministrazione
112
+ */
113
+ public function setRiferimentoAmministrazione ($ riferimentoAmministrazione )
114
+ {
115
+ $ this ->fatturaElettronicaHeader ->cedentePrestatore ->setRiferimentoAmministrazione ($ riferimentoAmministrazione );
116
+ }
109
117
}
Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ class CedentePrestatore implements XmlSerializableInterface
26
26
protected $ sede ;
27
27
/** @var IscrizioneRea */
28
28
protected $ iscrizioneRea ;
29
+ protected $ riferimentoAmministrazione ;
29
30
30
31
31
32
/**
@@ -52,6 +53,14 @@ public function setIscrizioneRea(IscrizioneRea $iscrizioneRea)
52
53
$ this ->iscrizioneRea = $ iscrizioneRea ;
53
54
}
54
55
56
+ /**
57
+ * @param string $riferimentoAmministrazione
58
+ */
59
+ public function setRiferimentoAmministrazione ($ riferimentoAmministrazione )
60
+ {
61
+ $ this ->riferimentoAmministrazione = $ riferimentoAmministrazione ;
62
+ }
63
+
55
64
/**
56
65
* @param \XMLWriter $writer
57
66
* @return \XMLWriter
@@ -64,6 +73,9 @@ public function toXmlBlock(\XMLWriter $writer)
64
73
if ($ this ->iscrizioneRea ) {
65
74
$ this ->iscrizioneRea ->toXmlBlock ($ writer );
66
75
}
76
+ if ($ this ->riferimentoAmministrazione ) {
77
+ $ writer ->writeElement ('RiferimentoAmministrazione ' , $ this ->riferimentoAmministrazione );
78
+ }
67
79
$ this ->writeXmlFields ($ writer );
68
80
$ writer ->endElement ();
69
81
return $ writer ;
Original file line number Diff line number Diff line change @@ -99,6 +99,14 @@ public function setIscrizioneRea(CedentePrestatore\IscrizioneRea $iscrizioneRea)
99
99
$ this ->cedentePrestatore ->setIscrizioneRea ($ iscrizioneRea );
100
100
}
101
101
102
+ /**
103
+ * @param string $riferimentoAmministrazione
104
+ */
105
+ public function setRiferimentoAmministrazione ($ riferimentoAmministrazione )
106
+ {
107
+ $ this ->cedentePrestatore ->setRiferimentoAmministrazione ($ riferimentoAmministrazione );
108
+ }
109
+
102
110
/**
103
111
* @param IdTrasmittente $idTrasmittente
104
112
*/
You can’t perform that action at this time.
0 commit comments