Esempio n. 1
0
     db_function::bankaccount_delete_all();
     echo $operation_succeded;
 }
 #Import BankAccount
 if (isset($_GET["import_bankaccount"])) {
     db_function::bankaccount_insert_json($_POST["MMEX_Post"]);
     echo $operation_succeded;
 }
 #Delete Payee
 if (isset($_GET["delete_payee"])) {
     db_function::payee_delete_all();
     echo $operation_succeded;
 }
 #Import Payee
 if (isset($_GET["import_payee"])) {
     db_function::payee_insert_json($_POST["MMEX_Post"]);
     echo $operation_succeded;
 }
 #Delete Category
 if (isset($_GET["delete_category"])) {
     db_function::category_delete_all();
     echo $operation_succeded;
 }
 #Import Category
 if (isset($_GET["import_category"])) {
     db_function::category_insert_json($_POST["MMEX_Post"]);
     echo $operation_succeded;
 }
 #Download New Transactions
 if (isset($_GET["download_transaction"])) {
     $TransactionsArr = db_function::transaction_select_all_order_by_date();