-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
42 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
#!/usr/bin/php -f | ||
<?php | ||
/** | ||
* AbraFlexi - Example how to copy Invoice | ||
* | ||
* @author Vítězslav Dvořák <[email protected]> | ||
* @copyright (G) 2017 Vitex Software | ||
*/ | ||
|
||
namespace Example\AbraFlexi; | ||
|
||
include_once './config.php'; | ||
include_once '../vendor/autoload.php'; | ||
|
||
include_once './common.php'; | ||
|
||
$invoiceID = askForFlexiBeeID(); | ||
|
||
/* | ||
* AbraFlexi Classes accept this form of initial identifier: | ||
* | ||
* (int) 2588 | ||
* (string) ext:ESHOP:oi1978 | ||
* (array) ['varSym'=>'20080015'] | ||
*/ | ||
|
||
$invoice = new \AbraFlexi\FakturaVydana($invoiceID); | ||
if ($invoice->getMyKey()) { | ||
print_r($invoice->getChanges()); | ||
} else { | ||
$originalInvoice->addStatusMessage('Source Invoice does not exists'); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,6 +25,7 @@ class Cenik extends RW { | |
|
||
use Stitky; | ||
use SubItems; | ||
use GetChanges; | ||
|
||
/** | ||
* Evidence užitá objektem. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
* From: https://vitexsoftware.abraflexi.eu:5434 | ||
* | ||
* @author Vítězslav Dvořák <[email protected]> | ||
* @copyright (C) 2021 Spoje.Net | ||
* @copyright (C) 2021-2022 Spoje.Net | ||
*/ | ||
|
||
namespace AbraFlexi; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,6 +19,7 @@ | |
class Pokladna extends RW { | ||
|
||
use Stitky; | ||
use GetChanges; | ||
|
||
/** | ||
* Evidence užitá objektem. | ||
|