for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* FlexiPeeHP - Contract Class.
* Objekt Smlouvy.
*
* @author Vítězslav Dvořák <[email protected]>
* @copyright (C) 2018 Spoje.Net
*/
namespace FlexiPeeHP;
* Smlouva
* @link https://demo.flexibee.eu/c/demo/smlouva/properties Vlastnosti evidence
class Smlouva extends FlexiBeeRW
{
* Evidence užitá objektem.
* @var string
public $evidence = 'smlouva';
* Generuje faktury ze smluv. Pokud je nastaven sloupec <strong>id</strong> generují se pouze z této smlouvy.
* @link https://www.flexibee.eu/api/dokumentace/ref/generovani-faktur/ Interní dokumentace
* @return boolean
public function generovaniFaktur()
$this->performRequest( ($this->getMyKey() ? $this->getMyKey().'/' : '' ). 'generovani-faktur', 'PUT');
return $this->lastResponseCode == 200;
}