Usuń zbędny kod wyjściowy w funkcji get_finances_categories
This commit is contained in:
2
api.php
2
api.php
@@ -99,7 +99,7 @@ if ( \S::get( 'action' ) == 'get_finances_categories' )
|
|||||||
echo json_encode( $categories );
|
echo json_encode( $categories );
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
echo 'a';
|
|
||||||
if ( \S::get( 'action' ) == 'add_finance_operation' )
|
if ( \S::get( 'action' ) == 'add_finance_operation' )
|
||||||
{
|
{
|
||||||
if ( !\S::get( 'operation_date' ) || !\S::get( 'net_value' ) || !\S::get( 'product_name' ) || !\S::get( 'category_id' ) )
|
if ( !\S::get( 'operation_date' ) || !\S::get( 'net_value' ) || !\S::get( 'product_name' ) || !\S::get( 'category_id' ) )
|
||||||
|
|||||||
Reference in New Issue
Block a user