Skip to content

Commit 5843815

Browse files
committed
v1.32 Release
1 parent ba2a717 commit 5843815

File tree

60 files changed

+530
-206
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+530
-206
lines changed

Examples/AddressImporter.php

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
<?php
2+
3+
namespace Example\FlexiPeeHP;
4+
5+
include_once './config.php';
6+
include_once '../vendor/autoload.php';
7+
8+
$options = [];
9+
10+
$customerData = [
11+
'customerName' => 'Pokuston',
12+
'email' => '[email protected]',
13+
'street' => 'pokusna',
14+
'psc' => '23122',
15+
'city' => 'Blava',
16+
'mobil1' => '6021231564',
17+
'ico' => '1212633',
18+
'dic' => 'SK123133',
19+
'bankAccount' => 'CZ9520100000002800677051'
20+
];
21+
22+
23+
24+
$data = [
25+
'id' => 'ext:test:'.time(),
26+
'nazev' => $customerData['customerName'],
27+
'email' => trim($customerData['email']),
28+
'ulice' => $customerData['street'],
29+
'psc' => $customerData['psc'],
30+
'mesto' => $customerData['city'],
31+
'mobil' => $customerData['mobil1'],
32+
'ic' => $customerData['ico'],
33+
'dic' => $customerData['dic'],
34+
];
35+
if ($customerData['icDph'] ?? null) {
36+
$data['vatId'] = $customerData['icDph'];
37+
$data['platceDph'] = true;
38+
}
39+
if ($customerData['phone'] ?? null) {
40+
$data['tel'] = $customerData['phone'];
41+
}
42+
43+
echo (sprintf("Inserting: %s", $data['nazev']));
44+
45+
46+
$adresar = new \FlexiPeeHP\Adresar($data);
47+
48+
if ($customerData['bankAccount'] ?? null) {
49+
$kodBanky = substr($customerData['bankAccount'], 4, 4);
50+
51+
$adresarBankovniUcet = new \FlexiPeeHP\Adresar([
52+
'iban' => $customerData['bankAccount'],
53+
// 'bic' => 'XXXX',
54+
'smerKod' => 'code:0300',
55+
'firma' => $data['id'],
56+
],
57+
array_merge($options,
58+
['evidence' => 'adresar-bankovni-ucet', 'offline' => true]));
59+
$adresar->join($adresarBankovniUcet);
60+
}
61+
62+
$adresar->insertToFlexiBee();

Examples/ExternalID.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
$save = array(
99
'id' => array(
10-
1000,
10+
14,
1111
'ext:evid:2434',
1212
'ext:another:753'
1313
),
@@ -19,4 +19,4 @@
1919
$addr->getExternalIDs(); // [ 0=> 'ext:evid:2434', 1 => 'ext:another:753' ]
2020
$addr->getMyKey(); // 1000
2121

22-
22+
$addr->addExternalID( 'EXTERNAL:1575454719' );
Lines changed: 270 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,270 @@
1+
./src/FlexiPeeHP/Actions.php
2+
./src/FlexiPeeHP/Adresar.php
3+
./src/FlexiPeeHP/Banka.php
4+
./src/FlexiPeeHP/Cenik.php
5+
./src/FlexiPeeHP/Changes.php
6+
./src/FlexiPeeHP/Company.php
7+
./src/FlexiPeeHP/DodavatelskaSmlouva.php
8+
./src/FlexiPeeHP/Evidence.php
9+
./src/FlexiPeeHP/EvidenceList.php
10+
./src/FlexiPeeHP/FakturaPrijata.php
11+
./src/FlexiPeeHP/FakturaVydana.php
12+
./src/FlexiPeeHP/FakturaVydanaPolozka.php
13+
./src/FlexiPeeHP/Firma.php
14+
./src/FlexiPeeHP/FlexiBeeRO.php
15+
./src/FlexiPeeHP/FlexiBeeRW.php
16+
./src/FlexiPeeHP/Formats.php
17+
./src/FlexiPeeHP/Hooks.php
18+
./src/FlexiPeeHP/InterniDoklad.php
19+
./src/FlexiPeeHP/Kontakt.php
20+
./src/FlexiPeeHP/Nastaveni.php
21+
./src/FlexiPeeHP/Pokladna.php
22+
./src/FlexiPeeHP/PokladniPohyb.php
23+
./src/FlexiPeeHP/Priloha.php
24+
./src/FlexiPeeHP/RadaPokladniPohyb.php
25+
./src/FlexiPeeHP/Relations.php
26+
./src/FlexiPeeHP/SkladovaKarta.php
27+
./src/FlexiPeeHP/SkladovyPohyb.php
28+
./src/FlexiPeeHP/SkladovyPohybPolozka.php
29+
./src/FlexiPeeHP/SkupinaFirem.php
30+
./src/FlexiPeeHP/Smlouva.php
31+
./src/FlexiPeeHP/Status.php
32+
./src/FlexiPeeHP/Stitek.php
33+
./src/FlexiPeeHP/Stitky.php
34+
./src/FlexiPeeHP/Strom.php
35+
./src/FlexiPeeHP/StromCenik.php
36+
./src/FlexiPeeHP/Sum.php
37+
./src/FlexiPeeHP/UcetniObdobi.php
38+
./src/FlexiPeeHP/VyrobniCislo.php
39+
./src/FlexiPeeHP/Zavazek.php
40+
./src/FlexiPeeHP/Zurnal.php
41+
./debian/composer.json
42+
./debian/test/composer.json
43+
./debian/test/config.json
44+
./debian/test/flexibeeping.php
45+
./static/Actions.json
46+
./static/EvidenceFullList.json
47+
./static/EvidenceList.json
48+
./static/Formats.json
49+
./static/Properties.adresar-bankovni-ucet.json
50+
./static/Properties.adresar.json
51+
./static/Properties.analyza-nakupu.json
52+
./static/Properties.analyza-prodeje.json
53+
./static/Properties.analyza-zakazky.json
54+
./static/Properties.atribut.json
55+
./static/Properties.banka-polozka.json
56+
./static/Properties.banka.json
57+
./static/Properties.bankovni-ucet.json
58+
./static/Properties.cenik-obal.json
59+
./static/Properties.cenik.json
60+
./static/Properties.cenikova-skupina.json
61+
./static/Properties.cenikovy-pohyb-nakup.json
62+
./static/Properties.cenikovy-pohyb-prodej.json
63+
./static/Properties.cenova-uroven.json
64+
./static/Properties.certifikacni-autorita.json
65+
./static/Properties.cinnost.json
66+
./static/Properties.ciselnik-mzdovych-slozek.json
67+
./static/Properties.cislo-baliku.json
68+
./static/Properties.cleneni-dph.json
69+
./static/Properties.cleneni-kontrolni-hlaseni.json
70+
./static/Properties.custom-button.json
71+
./static/Properties.danova-evidence.json
72+
./static/Properties.dashboard-panel.json
73+
./static/Properties.dashboard-sharing.json
74+
./static/Properties.dite.json
75+
./static/Properties.dodavatel.json
76+
./static/Properties.dodavatelska-smlouva.json
77+
./static/Properties.dodavatelsky-typ-smlouvy.json
78+
./static/Properties.eet-komunikace.json
79+
./static/Properties.faktura-prijata-polozka.json
80+
./static/Properties.faktura-prijata.json
81+
./static/Properties.faktura-vydana-polozka.json
82+
./static/Properties.faktura-vydana.json
83+
./static/Properties.filtr.json
84+
./static/Properties.forma-dopravy.json
85+
./static/Properties.forma-uhrady-zauctovani.json
86+
./static/Properties.forma-uhrady.json
87+
./static/Properties.format-elektronickeho-bankovnictvi.json
88+
./static/Properties.hlavni-kniha.json
89+
./static/Properties.hodnoceni-zakazky.json
90+
./static/Properties.individualni-cenik.json
91+
./static/Properties.insight.json
92+
./static/Properties.interni-doklad-polozka.json
93+
./static/Properties.interni-doklad.json
94+
./static/Properties.intrastat-dodaci-podminky.json
95+
./static/Properties.intrastat-druh-dopravy.json
96+
./static/Properties.intrastat-kod-nomenklatury.json
97+
./static/Properties.intrastat-kraj-urceni.json
98+
./static/Properties.intrastat-kurz.json
99+
./static/Properties.intrastat-merna-jednotka.json
100+
./static/Properties.intrastat-obchodni-transakce.json
101+
./static/Properties.intrastat-zvlastni-pohyb.json
102+
./static/Properties.inventura-polozka.json
103+
./static/Properties.inventura.json
104+
./static/Properties.konst-symbol.json
105+
./static/Properties.kontakt.json
106+
./static/Properties.kurz-pro-cenotvorbu.json
107+
./static/Properties.kurz.json
108+
./static/Properties.leasing.json
109+
./static/Properties.majetek-udalost.json
110+
./static/Properties.majetek.json
111+
./static/Properties.mapovani-skladu.json
112+
./static/Properties.mena.json
113+
./static/Properties.merna-jednotka.json
114+
./static/Properties.misto-urceni.json
115+
./static/Properties.mzda.json
116+
./static/Properties.mzdova-slozka.json
117+
./static/Properties.mzdy-bankovni-spojeni.json
118+
./static/Properties.nabidka-prijata-polozka.json
119+
./static/Properties.nabidka-prijata.json
120+
./static/Properties.nabidka-vydana-polozka.json
121+
./static/Properties.nabidka-vydana.json
122+
./static/Properties.naklad.json
123+
./static/Properties.nastaveni.json
124+
./static/Properties.nepritomnost.json
125+
./static/Properties.objednavka-prijata-polozka.json
126+
./static/Properties.objednavka-prijata.json
127+
./static/Properties.objednavka-vydana-polozka.json
128+
./static/Properties.objednavka-vydana.json
129+
./static/Properties.obrat.json
130+
./static/Properties.obratova-predvaha.json
131+
./static/Properties.odberatel.json
132+
./static/Properties.odpisova-skupina.json
133+
./static/Properties.osoba-hlavicka.json
134+
./static/Properties.osoba.json
135+
./static/Properties.parametr.json
136+
./static/Properties.penezni-ustav.json
137+
./static/Properties.podklady-dph.json
138+
./static/Properties.podobne-zbozi.json
139+
./static/Properties.pohledavka-polozka.json
140+
./static/Properties.pohledavka.json
141+
./static/Properties.pohyb-na-uctech.json
142+
./static/Properties.pokladna.json
143+
./static/Properties.pokladni-pohyb-polozka.json
144+
./static/Properties.pokladni-pohyb.json
145+
./static/Properties.poplatek.json
146+
./static/Properties.poptavka-prijata-polozka.json
147+
./static/Properties.poptavka-prijata.json
148+
./static/Properties.poptavka-vydana-polozka.json
149+
./static/Properties.poptavka-vydana.json
150+
./static/Properties.prace-mesic.json
151+
./static/Properties.prace.json
152+
./static/Properties.pracovni-pomer-hlavicka.json
153+
./static/Properties.pracovni-pomer.json
154+
./static/Properties.pravo-viditelnosti.json
155+
./static/Properties.predpis-zauctovani.json
156+
./static/Properties.prehled-zamestnancu.json
157+
./static/Properties.preneseni-dph.json
158+
./static/Properties.prikaz-k-inkasu-polozka.json
159+
./static/Properties.prikaz-k-inkasu.json
160+
./static/Properties.prikaz-k-uhrade-polozka.json
161+
./static/Properties.prikaz-k-uhrade.json
162+
./static/Properties.priloha.json
163+
./static/Properties.prislustenstvi.json
164+
./static/Properties.prodejka-platba.json
165+
./static/Properties.prodejka.json
166+
./static/Properties.psc.json
167+
./static/Properties.rada-banka.json
168+
./static/Properties.rada-faktury-prijate.json
169+
./static/Properties.rada-faktury-vydane.json
170+
./static/Properties.rada-interniho-dokladu.json
171+
./static/Properties.rada-nabidky-prijate.json
172+
./static/Properties.rada-nabidky-vydane.json
173+
./static/Properties.rada-objednavky-prijate.json
174+
./static/Properties.rada-objednavky-vydane.json
175+
./static/Properties.rada-pohledavky.json
176+
./static/Properties.rada-pokladni-pohyb.json
177+
./static/Properties.rada-poptavky-prijate.json
178+
./static/Properties.rada-poptavky-vydane.json
179+
./static/Properties.rada-skladovy-pohyb.json
180+
./static/Properties.rada-zavazku.json
181+
./static/Properties.rada.json
182+
./static/Properties.rezervace.json
183+
./static/Properties.rocni-rada.json
184+
./static/Properties.rozvaha-po-uctech.json
185+
./static/Properties.sablona-upominky.json
186+
./static/Properties.sady-a-komplety.json
187+
./static/Properties.saldo-k-datu.json
188+
./static/Properties.saldo.json
189+
./static/Properties.sazba-dph.json
190+
./static/Properties.setting-store.json
191+
./static/Properties.sklad.json
192+
./static/Properties.skladova-karta.json
193+
./static/Properties.skladovy-pohyb-polozka.json
194+
./static/Properties.skladovy-pohyb.json
195+
./static/Properties.skupina-atributu.json
196+
./static/Properties.skupina-firem.json
197+
./static/Properties.skupina-osob.json
198+
./static/Properties.skupina-stitku.json
199+
./static/Properties.skupina-zbozi.json
200+
./static/Properties.smena.json
201+
./static/Properties.smlouva-polozka.json
202+
./static/Properties.smlouva.json
203+
./static/Properties.srazka.json
204+
./static/Properties.stala-mzdova-slozka.json
205+
./static/Properties.stat.json
206+
./static/Properties.stav-ceniku.json
207+
./static/Properties.stav-skladu-k-datu.json
208+
./static/Properties.stav-smlouvy.json
209+
./static/Properties.stav-uctu.json
210+
./static/Properties.stav-zakazky.json
211+
./static/Properties.stitek.json
212+
./static/Properties.stredisko.json
213+
./static/Properties.strom-cenik.json
214+
./static/Properties.strom-koren.json
215+
./static/Properties.strom.json
216+
./static/Properties.subjekt.json
217+
./static/Properties.text.json
218+
./static/Properties.typ-aktivity.json
219+
./static/Properties.typ-atributu.json
220+
./static/Properties.typ-banka.json
221+
./static/Properties.typ-faktury-prijate.json
222+
./static/Properties.typ-faktury-vydane.json
223+
./static/Properties.typ-interniho-dokladu.json
224+
./static/Properties.typ-leasingu.json
225+
./static/Properties.typ-majetku.json
226+
./static/Properties.typ-nabidky-prijate.json
227+
./static/Properties.typ-nabidky-vydane.json
228+
./static/Properties.typ-nakladu.json
229+
./static/Properties.typ-objednavky-prijate.json
230+
./static/Properties.typ-objednavky-vydane.json
231+
./static/Properties.typ-organizace.json
232+
./static/Properties.typ-pohledavky.json
233+
./static/Properties.typ-pokladni-pohyb.json
234+
./static/Properties.typ-poptavky-prijate.json
235+
./static/Properties.typ-poptavky-vydane.json
236+
./static/Properties.typ-pracovniho-pomeru.json
237+
./static/Properties.typ-prodejky.json
238+
./static/Properties.typ-skladovy-pohyb.json
239+
./static/Properties.typ-smlouvy.json
240+
./static/Properties.typ-stavu-ceniku.json
241+
./static/Properties.typ-uzivatelske-vazby.json
242+
./static/Properties.typ-vzajemnych-zapoctu.json
243+
./static/Properties.typ-zakazky.json
244+
./static/Properties.typ-zavazku.json
245+
./static/Properties.ucet.json
246+
./static/Properties.ucetni-denik.json
247+
./static/Properties.ucetni-obdobi.json
248+
./static/Properties.ucetni-osnova.json
249+
./static/Properties.udalost.json
250+
./static/Properties.umisteni-ve-skladu-mistnost.json
251+
./static/Properties.umisteni-ve-skladu-police.json
252+
./static/Properties.umisteni-ve-skladu-regal.json
253+
./static/Properties.umisteni-ve-skladu.json
254+
./static/Properties.umisteni.json
255+
./static/Properties.uzivatel.json
256+
./static/Properties.uzivatelska-vazba.json
257+
./static/Properties.uzivatelsky-dotaz-parametr.json
258+
./static/Properties.uzivatelsky-dotaz-vlastnost.json
259+
./static/Properties.uzivatelsky-dotaz.json
260+
./static/Properties.vazba.json
261+
./static/Properties.vykaz-hospodareni.json
262+
./static/Properties.vyrobni-cislo.json
263+
./static/Properties.vzajemny-zapocet.json
264+
./static/Properties.xslt.json
265+
./static/Properties.zakazka.json
266+
./static/Properties.zapujcka.json
267+
./static/Properties.zavazek-polozka.json
268+
./static/Properties.zavazek.json
269+
./static/Properties.zurnal.json
270+
./static/Relations.json

debian/files

Lines changed: 0 additions & 2 deletions
This file was deleted.

debian/php-flexibee.debhelper.log

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,3 @@ dh_auto_test
55
dh_prep
66
dh_auto_install
77
override_dh_install dh_install
8-
dh_install
9-
dh_installdocs
10-
dh_installchangelogs
11-
dh_perl
12-
dh_link
13-
dh_strip_nondeterminism
14-
dh_compress
15-
dh_fixperms
16-
dh_missing
17-
dh_installdeb
18-
dh_gencontrol
19-
dh_md5sums
20-
dh_builddeb

debian/php-flexibee.substvars

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)