当前位置: 首页>>代码示例>>PHP>>正文


PHP check_item_data函数代码示例

本文整理汇总了PHP中check_item_data函数的典型用法代码示例。如果您正苦于以下问题:PHP check_item_data函数的具体用法?PHP check_item_data怎么用?PHP check_item_data使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了check_item_data函数的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: handle_new_item

function handle_new_item()
{
    if (!check_item_data()) {
        return;
    }
    $amount = ($_SESSION['pay_items']->trans_type == ST_BANKPAYMENT ? 1 : -1) * input_num('amount');
    $_SESSION['pay_items']->add_gl_item($_POST['code_id'], $_POST['dimension_id'], $_POST['dimension2_id'], $amount, $_POST['LineMemo']);
    line_start_focus();
}
开发者ID:nativebandung,项目名称:frontaccounting,代码行数:9,代码来源:gl_bank.php

示例2: handle_new_item

function handle_new_item()
{
    if (!check_item_data()) {
        return;
    }
    add_to_order($_SESSION['Items'], get_post('stock_id'), input_num('qty'), input_num('price'), input_num('Disc') / 100, get_post('stock_id_text'));
    unset($_POST['_stock_id_edit'], $_POST['stock_id']);
    page_modified();
    line_start_focus();
}
开发者ID:blestab,项目名称:frontaccounting,代码行数:10,代码来源:sales_order_entry.php

示例3: handle_new_item

function handle_new_item()
{
    if (!check_item_data()) {
        return;
    }
    if (!isset($_POST['std_cost'])) {
        $_POST['std_cost'] = 0;
    }
    add_to_order($_SESSION['transfer_items'], $_POST['stock_id'], input_num('qty'), $_POST['std_cost']);
    line_start_focus();
}
开发者ID:blestab,项目名称:frontaccounting,代码行数:11,代码来源:transfers.php

示例4: handle_new_item

function handle_new_item()
{
    if (!check_item_data()) {
        return;
    }
    add_to_order($_SESSION['adj_items'], $_POST['stock_id'], input_num('qty'), input_num('std_cost'));
    line_start_focus();
}
开发者ID:blestab,项目名称:frontaccounting,代码行数:8,代码来源:adjustments.php

示例5: handle_new_item

function handle_new_item()
{
    if (!check_item_data()) {
        return;
    }
    add_to_order($_SESSION['issue_items'], $_POST['stock_id'], $_POST['qty'], $_POST['std_cost']);
}
开发者ID:ravenii,项目名称:guardocs,代码行数:7,代码来源:work_order_issue.php

示例6: handle_new_item

function handle_new_item()
{
    if (!check_item_data()) {
        return;
    }
    add_to_order($_SESSION['Items'], $_POST['stock_id'], input_num('qty'), input_num('price'), input_num('Disc') / 100);
    line_start_focus();
}
开发者ID:ravenii,项目名称:guardocs,代码行数:8,代码来源:credit_note_entry.php

示例7: handle_new_item

function handle_new_item()
{
    if (!check_item_data()) {
        return;
    }
    if (input_num('AmountDebit') > 0) {
        $amount = input_num('AmountDebit');
    } else {
        $amount = -input_num('AmountCredit');
    }
    $_SESSION['journal_items']->add_gl_item($_POST['code_id'], $_POST['dimension_id'], $_POST['dimension2_id'], $amount, $_POST['LineMemo']);
    line_start_focus();
}
开发者ID:M-Shahbaz,项目名称:FA,代码行数:13,代码来源:gl_journal.php

示例8: commit_item_data

function commit_item_data($n)
{
    if (check_item_data($n)) {
        $_SESSION['supp_trans']->add_grn_to_trans($n, $_POST['po_detail_item' . $n], $_POST['item_code' . $n], $_POST['item_description' . $n], $_POST['qty_recd' . $n], $_POST['prev_quantity_inv' . $n], input_num('this_quantity_inv' . $n), $_POST['order_price' . $n], input_num('ChgPrice' . $n), $_POST['std_cost_unit' . $n], "");
        reset_tax_input();
    }
}
开发者ID:M-Shahbaz,项目名称:FA,代码行数:7,代码来源:supplier_invoice.php

示例9: handle_new_item

function handle_new_item()
{
    if (!check_item_data()) {
        return;
    }
    $_SESSION['deposit_items']->add_gl_item($_POST['code_id'], $_POST['dimension_id'], $_POST['dimension2_id'], -input_num('amount'), $_POST['LineMemo']);
}
开发者ID:ravenii,项目名称:guardocs,代码行数:7,代码来源:gl_deposit.php

示例10: handle_new_item

function handle_new_item()
{
    if (!check_item_data()) {
        return;
    }
    add_to_order($_SESSION['Items'], $_POST['stock_id'], input_num('qty'), input_num('price'), input_num('Disc') / 100, $_POST['date_from'], $_POST['notes']);
    $_POST['StockID2'] = $_POST['stock_id'] = "";
    $_POST['notes'] = "";
    line_start_focus();
}
开发者ID:ravenii,项目名称:guardocs,代码行数:10,代码来源:sales_order_entry.php


注:本文中的check_item_data函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。