Exemple #1
0
function js_path($asset_name, $module_name = NULL)
{
    return get_asset_instance()->js_path($asset_name, $module_name);
}
Exemple #2
0
function bestbooks_sample_1($atts, $content = null, $code = "")
{
    $coa = get_coa_instance();
    $coa->add("Cash", "Asset");
    $coa->add("Livery", "Revenue");
    $coa->add("Gas", "Expense");
    $cash = get_asset_instance("Cash");
    $livery = get_revenue_instance("Livery");
    $gas = get_expense_instance("Gas");
    $livery->addcredit("2007-03-31", "Taxi Transportation Daily Bookout", 137.0);
    $cash->adddebit("2007-03-31", "Tax Transportation Daily Bookout", 137.0);
    $cash->addcredit("2007-03-31", "Gas for Taxi Transportation Daily", 37.0);
    $gas->adddebit("2007-03-31", "Gas for Taxi Transportation Daily", 37.0);
}