PHP code example of wagnermontanini / layoutsyspdv

1. Go to this page and download the library: Download wagnermontanini/layoutsyspdv library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

wagnermontanini / layoutsyspdv example snippets



WagnerMontanini\LayoutSyspdv\GeraLayout;

$geraLayout = new GeraLayout();

$syspdv = $geraLayout->geraLayoutSyspadm([
    ["001"=> "99",
    "002"=> "A"]    
])->geraLayoutSyspaplic([
    ["001"=> "9999",
    "002"=> "A"]    
])->geraLayoutSyspcar([
    ["001"=> "9999999999999999999",
    "002"=> "999999",
    "003"=> "A",
    "004"=> "A",
    "005"=> date("Y-m-d"), //VERIFICAR DATA QUANDO TESTAR
    "006"=> "99999999999999"]    
])->geraLayoutSyspcarac([
    ["001"=> "9999",
    "002"=> "A"]    
])->geraLayoutSyspcfo([
    ["001"=> "99999",
    "002"=> "A",
    "003"=> "A",
    "004"=> "",
    "005"=> "",
    "006"=> "",
    "007"=> "",
    "008"=> "",
    "009"=> "",
    "010"=> "",
    "011"=> "",
    "012"=> "",
    "013"=> "",
    "014"=> "",
    "015"=> "",
    "016"=> "",
    "017"=> "",
    "018"=> "",
    "019"=> ""]    
]);