if (is_a($objDobaProducts, 'DobaProducts') && DobaInteraction::loadDobaProductsIntoDB($objDobaProducts)) { DobaLog::logProductUpload($objDobaProducts, $filename); $msg = $filename . UPLOAD_SUCCESS_MSG; } else { $MSG = UPLOAD_FAILURE_MSG; } } else { if (isset($_GET['api'])) { if ($_GET['api'] == 'success') { $msg = 'Your products were successfully loaded from Doba'; } else { $msg = 'There were problems loading your products from Doba. Please try again later.'; } } } $upload_history = DobaLog::getLogHistorySummary('product'); ?> <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"> <html <?php echo HTML_PARAMS; ?> > <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?> "> <title><?php echo TITLE; ?> </title>
- the product does not have enough stock to complete the order<br> Please log into Doba to verify.'; } } else { // this was an unrecognized action } } } if (!$downloaded) { $msg = FILE_DOWNLOAD_ERROR; } $order_cnt_new = DobaInteraction::getOrderCount('new'); $order_cnt_all = DobaInteraction::getOrderCount('all'); $order_cnt_submitted = DobaInteraction::getOrderCount('submitted'); $order_cnt_unsubmitted = DobaInteraction::getOrderCount('unsubmitted'); $download_history = DobaLog::getLogHistorySummary('order'); ?> <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"> <html <?php echo HTML_PARAMS; ?> > <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?> "> <title><?php echo TITLE; ?> </title>