commit melhorias1
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
<?php
|
||||
$book='8085';require __DIR__.'/sgf-single-bootstrap.php';$periods=$native->table('gl_periods')->where(['tenant_id'=>1,'company_id'=>2,'unit_id'=>2])->orderBy('id')->get(['period_key','version','starts_on','ends_on','status'])->all();file_put_contents($work.'/assets-ledger-context-private.json',json_encode(['periods'=>$periods,'journals'=>$native->table('gl_journals')->count(),'accounts'=>$native->table('gl_accounts')->where(['tenant_id'=>1,'company_id'=>2,'unit_id'=>2])->count()],JSON_PRETTY_PRINT));echo json_encode(['passed'=>true,'periods'=>$periods,'journals'=>$native->table('gl_journals')->count(),'accounts'=>$native->table('gl_accounts')->where(['tenant_id'=>1,'company_id'=>2,'unit_id'=>2])->count(),'proof'=>$work.'/assets-ledger-context-private.json']).PHP_EOL;
|
||||
Reference in New Issue
Block a user