Esempio n. 1
0
    echo '<p class="page_title_text noPrint" ><img src="' . $RootPath . '/css/' . $Theme . '/images/customer.png" title="' . _('Customer') . '" alt="" />' . ' ' . _('Customer') . ' : ' . $_SESSION['CustomerID'] . ' - ' . $CustomerName . ' - ' . $PhoneNo . _(' has been selected') . '</p>';
    echo '<div class="page_help_text noPrint">' . _('Select a menu option to operate using this customer') . '.</div><br />';
    echo '<table cellpadding="4" width="90%" class="selection">
			<tr>
				<th style="width:33%">' . _('Customer Inquiries') . '</th>
				<th style="width:33%">' . _('Customer Transactions') . '</th>
				<th style="width:33%">' . _('Customer Maintenance') . '</th>
			</tr>';
    echo '<tr><td valign="top" class="select">';
    /* Customer Inquiry Options */
    echo '<a href="' . $RootPath . '/CustomerInquiry.php?CustomerID=' . $_SESSION['CustomerID'] . '">' . _('Customer Transaction Inquiries') . '</a><br />';
    echo '<a href="' . $RootPath . '/Customers.php?DebtorNo=' . $_SESSION['CustomerID'] . '&amp;Modify=No">' . _('View Customer Details') . '</a><br />';
    echo '<a href="' . $RootPath . '/PrintCustStatements.php?FromCust=' . $_SESSION['CustomerID'] . '&amp;ToCust=' . $_SESSION['CustomerID'] . '&amp;PrintPDF=Yes">' . _('Print Customer Statement') . '</a><br />';
    echo '<a href="' . $RootPath . '/SelectCompletedOrder.php?SelectedCustomer=' . $_SESSION['CustomerID'] . '">' . _('Order Inquiries') . '</a><br />';
    echo '<a href="' . $RootPath . '/CustomerPurchases.php?DebtorNo=' . $_SESSION['CustomerID'] . '">' . _('Show purchases from this customer') . '</a><br />';
    wikiLink('Customer', $_SESSION['CustomerID']);
    echo '</td><td valign="top" class="select">';
    echo '<a href="' . $RootPath . '/SelectSalesOrder.php?SelectedCustomer=' . $_SESSION['CustomerID'] . '">' . _('Modify Outstanding Sales Orders') . '</a><br />';
    echo '<a href="' . $RootPath . '/CustomerAllocations.php?DebtorNo=' . $_SESSION['CustomerID'] . '">' . _('Allocate Receipts or Credit Notes') . '</a><br />';
    echo '<a href="' . $RootPath . '/JobCards.php?DebtorNo=' . $_SESSION['CustomerID'] . '&amp;BranchNo=' . $_SESSION['BranchCode'] . '">' . _('Job Cards') . '</a><br />';
    echo '<a href="' . $RootPath . '/CustomerReceipt.php?CustomerID=' . $_SESSION['CustomerID'] . '&NewReceipt=Yes&Type=Customer">' . _('Enter a Receipt From This Customer') . '</a><br />';
    if (isset($_SESSION['CustomerID']) and isset($_SESSION['BranchCode'])) {
        echo '<a href="' . $RootPath . '/CounterSales.php?DebtorNo=' . $_SESSION['CustomerID'] . '&amp;BranchNo=' . $_SESSION['BranchCode'] . '">' . _('Create a Counter Sale for this Customer') . '</a><br />';
    }
    //isset($_SESSION['CustomerID']) and isset($_SESSION['BranchCode'])
    echo '</td><td valign="top" class="select">';
    echo '<a href="' . $RootPath . '/Customers.php?">' . _('Add a New Customer') . '</a><br />';
    echo '<a href="' . $RootPath . '/Customers.php?DebtorNo=' . $_SESSION['CustomerID'] . '">' . _('Modify Customer Details') . '</a><br />';
    echo '<a href="' . $RootPath . '/CustomerBranches.php?DebtorNo=' . $_SESSION['CustomerID'] . '">' . _('Add/Modify/Delete Customer Branches') . '</a><br />';
    echo '<a href="' . $RootPath . '/SelectProduct.php">' . _('Special Customer Prices') . '</a><br />';
    echo '<a href="' . $RootPath . '/CustEDISetup.php">' . _('Customer EDI Configuration') . '</a><br />';
Esempio n. 2
0
    echo '<div class="page_help_text">' . _('Select a menu option to operate using this supplier.') . '</div>';
    echo '<br />
		<table width="90%" cellpadding="4">
		<tr>
			<th style="width:33%">' . _('Supplier Inquiries') . '</th>
			<th style="width:33%">' . _('Supplier Transactions') . '</th>
			<th style="width:33%">' . _('Supplier Maintenance') . '</th>
		</tr>';
    echo '<tr><td valign="top" class="select">';
    /* Inquiry Options */
    echo '<a href="' . $RootPath . '/SupplierInquiry.php?SupplierID=' . $_SESSION['SupplierID'] . '">' . _('Supplier Account Inquiry') . '</a>
		<br />
		<br />';
    echo '<br /><a href="' . $RootPath . '/PO_SelectOSPurchOrder.php?SelectedSupplier=' . $_SESSION['SupplierID'] . '">' . _('Add / Receive / View Outstanding Purchase Orders') . '</a>';
    echo '<br /><a href="' . $RootPath . '/PO_SelectPurchOrder.php?SelectedSupplier=' . $_SESSION['SupplierID'] . '">' . _('View All Purchase Orders') . '</a><br />';
    wikiLink('Supplier', $_SESSION['SupplierID']);
    echo '<br /><a href="' . $RootPath . '/ShiptsList.php?SupplierID=' . $_SESSION['SupplierID'] . '&amp;SupplierName=' . urlencode($SupplierName) . '">' . _('List all open shipments for') . ' ' . $SupplierName . '</a>';
    echo '<br /><a href="' . $RootPath . '/Shipt_Select.php?SelectedSupplier=' . $_SESSION['SupplierID'] . '">' . _('Search / Modify / Close Shipments') . '</a>';
    echo '<br /><a href="' . $RootPath . '/SuppPriceList.php?SelectedSupplier=' . $_SESSION['SupplierID'] . '">' . _('Supplier Price List') . '</a>';
    echo '</td><td valign="top" class="select">';
    /* Supplier Transactions */
    echo '<a href="' . $RootPath . '/PO_Header.php?NewOrder=Yes&amp;SupplierID=' . $_SESSION['SupplierID'] . '">' . _('Enter a Purchase Order for This Supplier') . '</a><br />';
    echo '<a href="' . $RootPath . '/SupplierInvoice.php?SupplierID=' . $_SESSION['SupplierID'] . '">' . _('Enter a Suppliers Invoice') . '</a><br />';
    echo '<a href="' . $RootPath . '/SupplierCredit.php?New=true&amp;SupplierID=' . $_SESSION['SupplierID'] . '">' . _('Enter a Suppliers Credit Note') . '</a><br />';
    echo '<a href="' . $RootPath . '/Payments.php?SupplierID=' . $_SESSION['SupplierID'] . '">' . _('Enter a Payment to, or Receipt from the Supplier') . '</a><br />';
    echo '<br />';
    echo '<br /><a href="' . $RootPath . '/ReverseGRN.php?SupplierID=' . $_SESSION['SupplierID'] . '">' . _('Reverse an Outstanding Goods Received Note (GRN)') . '</a>';
    echo '</td><td valign="top" class="select">';
    /* Supplier Maintenance */
    echo '<a href="' . $RootPath . '/Suppliers.php">' . _('Add a New Supplier') . '</a>
		<br /><a href="' . $RootPath . '/Suppliers.php?SupplierID=' . $_SESSION['SupplierID'] . '">' . _('Modify Or Delete Supplier Details') . '</a>
Esempio n. 3
0
 }
 echo '<a href="' . $rootpath . '/SelectSalesOrder.php?SelectedStockItem=' . $StockID . '">' . _('Search Outstanding Sales Orders') . '</a><br />';
 echo '<a href="' . $rootpath . '/SelectCompletedOrder.php?SelectedStockItem=' . $StockID . '">' . _('Search Completed Sales Orders') . '</a><br />';
 if ($Its_A_Kitset_Assembly_Or_Dummy == False) {
     echo '<a href="' . $rootpath . '/PO_SelectOSPurchOrder.php?SelectedStockItem=' . $StockID . '">' . _('Search Outstanding Purchase Orders') . '</a><br />';
     echo '<a href="' . $rootpath . '/PO_SelectPurchOrder.php?SelectedStockItem=' . $StockID . '">' . _('Search All Purchase Orders') . '</a><br />';
     echo '<a href="' . $rootpath . '/' . $_SESSION['part_pics_dir'] . '/' . $StockID . '.jpg">' . _('Show Part Picture (if available)') . '</a><br />';
 }
 if ($Its_A_Dummy == False) {
     echo '<a href="' . $rootpath . '/BOMInquiry.php?StockID=' . $StockID . '">' . _('View Costed Bill Of Material') . '</a><br />';
     echo '<a href="' . $rootpath . '/WhereUsedInquiry.php?StockID=' . $StockID . '">' . _('Where This Item Is Used') . '</a><br />';
 }
 if ($Its_A_Labour_Item == True) {
     echo '<a href="' . $rootpath . '/WhereUsedInquiry.php?StockID=' . $StockID . '">' . _('Where This Labour Item Is Used') . '</a><br />';
 }
 wikiLink('Product', $StockID);
 echo '</td><td valign="top" class="select">';
 /* Stock Transactions */
 if ($Its_A_Kitset_Assembly_Or_Dummy == false) {
     echo '<a href="' . $rootpath . '/StockAdjustments.php?StockID=' . $StockID . '">' . _('Quantity Adjustments') . '</a><br />';
     echo '<a href="' . $rootpath . '/StockTransfers.php?StockID=' . $StockID . '&amp;NewTransfer=true">' . _('Location Transfers') . '</a><br />';
     //show the item image if it has been uploaded
     if (isset($StockID) and file_exists($_SESSION['part_pics_dir'] . '/' . $StockID . '.jpg')) {
         if ($_SESSION['ShowStockidOnImages'] == "0") {
             echo '<div class="centre"><img src="' . $rootpath . '/GetStockImage.php?automake=1&amp;textcolor=FFFFF0&amp;bgcolor=007F00&amp;width=120&amp;height=120&amp;StockID=' . $StockID . '&amp;text=""' . '" />';
         } else {
             echo '<div class="centre"><img src="' . $rootpath . '/GetStockImage.php?automake=1&amp;textcolor=FFFFF0&amp;bgcolor=007F00&amp;StockID=' . $StockID . '&amp;text=' . $StockID . '&amp;width=120&amp;height=120" />';
         }
     }
     if ($myrow['mbflag'] == 'B' and in_array($SuppliersSecurity, $_SESSION['AllowedPageSecurityTokens']) and $myrow['discontinued'] == 0) {
         echo '<br />';
Esempio n. 4
0
        echo '<td class="number"><input type="hidden" name="RecdQty' . $i . '" value="' . locale_number_format($_POST['RecdQty' . $i], $_POST['DecimalPlaces' . $i]) . '" />' . locale_number_format($_POST['RecdQty' . $i], $_POST['DecimalPlaces' . $i]) . '</td>
		  		<td class="number">' . locale_number_format($_POST['OutputQty' . $i] - $_POST['RecdQty' . $i], $_POST['DecimalPlaces' . $i]) . '</td>';
        if ($_POST['Controlled' . $i] == 1) {
            echo '<td><input type="text" name="NextLotSNRef' . $i . '" value="' . $_POST['NextLotSNRef' . $i] . '" /></td>';
            if ($_SESSION['DefineControlledOnWOEntry'] == 1) {
                if ($_POST['Serialised' . $i] == 1) {
                    $LotOrSN = _('S/Ns');
                } else {
                    $LotOrSN = _('Batches');
                }
                echo '<td><a href="' . $RootPath . '/WOSerialNos.php?WO=' . $_POST['WO'] . '&StockID=' . $_POST['OutputItem' . $i] . '&Description=' . $_POST['OutputItemDesc' . $i] . '&Serialised=' . $_POST['Serialised' . $i] . '&NextSerialNo=' . $_POST['NextLotSNRef' . $i] . '">' . $LotOrSN . '</a></td>';
            }
        }
        echo '<td>';
        if ($_SESSION['WikiApp'] != 0) {
            wikiLink('WorkOrder', $_POST['WO'] . $_POST['OutputItem' . $i]);
        }
        echo '</td>';
        echo '</tr>';
        if (isset($_POST['Controlled' . $i])) {
            echo '<input type="hidden" name="Controlled' . $i . '" value="' . $_POST['Controlled' . $i] . '" />';
        }
        if (isset($_POST['Serialised' . $i])) {
            echo '<input type="hidden" name="Serialised' . $i . '" value="' . $_POST['Serialised' . $i] . '" />';
        }
        if (isset($_POST['HasWOSerialNos' . $i])) {
            echo '<input type="hidden" name="HasWOSerialNos' . $i . '" value="' . $_POST['HasWOSerialNos' . $i] . '" />';
        }
    }
    echo '<input type="hidden" name="NumberOfOutputs" value="' . ($i - 1) . '" />';
}
Esempio n. 5
0
echo '<h1>' . __('Viewing user details') . '</h1>' . chr(10) . chr(10);
if ($user['deactivated']) {
    echo '<div class="error" style="width: 500px;">' . __('This user is deactivated.') . '</div>';
}
if ($login['user_access_useredit'] || $login['user_id'] == $user['user_id']) {
    echo '<a href="admin_user2.php?editor=1&amp;id=' . $user['user_id'] . '">' . iconHTML('user_edit') . ' Endre bruker</a><br />' . chr(10) . chr(10);
    echo '<a href="admin_user_password.php?id=' . $user['user_id'] . '">' . iconHTML('lock_edit') . ' Endre passord</a><br /><br />' . chr(10) . chr(10);
}
echo '<b>' . __('UserID') . ':</b> ' . $user['user_id'] . '<br>' . chr(10);
echo '<b>' . __('Username') . ':</b> ' . $user['user_name'] . '<br>' . chr(10);
echo '<b>' . __('Short username') . ':</b> ' . $user['user_name_short'] . '<br>' . chr(10);
echo '<b>' . __('E-mail') . ':</b> ' . $user['user_email'] . '<br>' . chr(10);
echo '<b>' . __('Phone') . ':</b> ' . $user['user_phone'] . '<br>' . chr(10);
echo '<b>Stilling:</b> ' . $user['user_position'] . '<br>' . chr(10);
echo '<!-- ';
echo '<br><b>Adresse for internettkalender i Outlook:</b><br><input type="text" size="70" value="' . $systemurl . '/entry_ical.php?user_id=' . $user['user_id'] . '"><br>' . 'Se <a href="' . wikiLink('Bookingsystemet/Bookinger_i_Outlook') . '">guide p&aring; wiki</a> for informasjon om hvordan du legger inn kalenderen' . chr(10);
echo '-->';
echo '<h2>' . __('Upcoming entries for ') . ' ' . $user['user_name'] . '</h2>' . chr(10);
filterMakeAlternatives();
$filters = array();
$filters = addFilter($filters, 'user_assigned', $user['user_id']);
$filters = addFilter($filters, 'time_start', 'current', '>');
filterLink($filters);
echo '<br><br>' . chr(10) . chr(10);
$SQL = genSQLFromFilters($filters, 'entry_id') . ' order by time_start';
$Q_next_entries = mysql_query($SQL);
/*
$Q_next_entries = mysql_query("select entry_id from `entry` where 
	user_assigned like '%;".$user['user_id'].";%' and
	time_start > '".time()."'
	order by time_start
Esempio n. 6
0
        echo '<a href="' . $_SERVER['PHP_SELF'] . '?area=' . $other . '">Importer fra Vitengardens kasseapparat heller</a><br />';
    } else {
        if (isset($other)) {
            echo '<a href="' . $_SERVER['PHP_SELF'] . '?area=' . $other . '">Importer fra Vitenfabrikkens kasseapparat heller</a><br />';
        }
    }
    echo '<a href="admin_import_dn.php?area_id=' . $area . '">Endre innstillinger</a><br />';
    echo '<br /><br />';
    $files = array();
    while ($file = readdir($dir_handle)) {
        if ($file != '.' && $file != '..') {
            $files[] = $file;
        }
    }
    if (!count($files)) {
        echo '<div class="notice" style="width: 600px;">Ingen filer som ikke er importert.<br /><br />' . 'For guide om hvordan du kan laste inn fil, se artikkelen ' . '<a href="' . wikiLink('Bookingsystemet/Import_fra_kasseapparat') . '">' . 'import fra kasseapparat' . '</a> på wikien';
    } else {
        echo '<div style="font-size: 1.2em;">';
        echo '<b>Velg fil å importere:</b><br />';
        echo '<ul>';
        foreach ($files as $file) {
            echo '<li style="font-size: 1.2em;">' . '<a href="' . $_SERVER['PHP_SELF'] . '?area=' . $areaArray['area_id'] . '&amp;importerfil=' . $file . '">' . $file . '</a></li>';
        }
        echo '</ul></div>';
    }
    //closing the directory
    closedir($dir_handle);
}
function my_xml2array($contents)
{
    $xml_values = array();
    }
    echo '<p class="page_title_text"><img src="' . $rootpath . '/css/' . $theme . '/images/supplier.png" title="' . _('Supplier') . '" alt="" />' . ' ' . _('Supplier') . ' : <b>' . stripslashes($_SESSION['SupplierID']) . ' - ' . $SupplierName . '</b> ' . _('has been selected') . '.</p>';
    echo '<div class="page_help_text">' . _('Select a menu option to operate using this supplier.') . '</div>';
    echo '<br /><table width=90% cellpadding="4" class="selection">';
    echo '<tr>
		<th width="33%" class="header">' . _('Supplier Inquiries') . '</th>
		<th width="33%" class="header">' . _('Supplier Transactions') . '</th>
		<th width="33%" class="header">' . _('Supplier Maintenance') . '</th>
	</tr>';
    echo '<tr><td valign="top" class="select">';
    /* Inquiry Options */
    echo '<a href="' . $rootpath . '/SupplierInquiry.php?SupplierID=' . stripslashes($_SESSION['SupplierID']) . '">' . _('Supplier Account Inquiry') . '</a><br />';
    echo '<br />';
    echo '<br /><a href="' . $rootpath . '/PO_SelectOSPurchOrder.php?SelectedSupplier=' . stripslashes($_SESSION['SupplierID']) . '">' . _('Add / Receive / View Outstanding Purchase Orders') . '</a>';
    echo '<br /><a href="' . $rootpath . '/PO_SelectPurchOrder.php?SelectedSupplier=' . stripslashes($_SESSION['SupplierID']) . '">' . _('View All Purchase Orders') . '</a><br />';
    wikiLink('Supplier', stripslashes($_SESSION['SupplierID']));
    echo '<br /><a href="' . $rootpath . '/ShiptsList.php?SupplierID=' . stripslashes($_SESSION['SupplierID']) . '&SupplierName=' . urlencode($SupplierName) . '">' . _('List all open shipments for') . ' ' . $SupplierName . '</a>';
    echo '<br /><a href="' . $rootpath . '/Shipt_Select.php?SelectedSupplier=' . stripslashes($_SESSION['SupplierID']) . '">' . _('Search / Modify / Close Shipments') . '</a>';
    echo '<br /><a href="' . $rootpath . '/SuppPriceList.php?SelectedSupplier=' . stripslashes($_SESSION['SupplierID']) . '">' . _('Supplier Price List') . '</a>';
    echo '</td><td valign=top class="select">';
    /* Supplier Transactions */
    echo '<a href="' . $rootpath . '/PO_Header.php?NewOrder=Yes&SupplierID=' . stripslashes($_SESSION['SupplierID']) . '">' . _('Enter a Purchase Order for This Supplier') . '</a><br />';
    echo '<a href="' . $rootpath . '/SupplierInvoice.php?SupplierID=' . stripslashes($_SESSION['SupplierID']) . '">' . _('Enter a Suppliers Invoice') . '</a><br />';
    echo '<a href="' . $rootpath . '/SupplierCredit.php?New=true&SupplierID=' . stripslashes($_SESSION['SupplierID']) . '">' . _('Enter a Suppliers Credit Note') . '</a><br />';
    echo '<a href="' . $rootpath . '/Payments.php?SupplierID=' . stripslashes($_SESSION['SupplierID']) . '">' . _('Enter a Payment to, or Receipt from the Supplier') . '</a><br />';
    echo '<br />';
    echo '<br /><a href="' . $rootpath . '/ReverseGRN.php?&SupplierID=' . stripslashes($_SESSION['SupplierID']) . '">' . _('Reverse an Outstanding Goods Received Note (GRN)') . '</a>';
    echo '</td><td valign=top class="select">';
    /* Supplier Maintenance */
    echo '<a href="' . $rootpath . '/Suppliers.php?">' . _('Add a New Supplier') . '</a><br />';
    echo '<a href="' . $rootpath . '/Suppliers.php?SupplierID=' . urlencode(stripslashes($_SESSION['SupplierID'])) . '">' . _('Modify Or Delete Supplier Details') . '</a>';
Esempio n. 8
0
    }
    echo '<p class="page_title_text noPrint" ><img src="' . $RootPath . '/css/' . $Theme . '/images/supplier.png" title="' . _('Supplier') . '" alt="" />' . ' ' . _('Supplier') . ' : <b>' . stripslashes($_SESSION['SupplierID']) . ' - ' . $SupplierName . '</b> ' . _('has been selected') . '.</p>';
    echo '<div class="page_help_text noPrint">' . _('Select a menu option to operate using this supplier.') . '</div>';
    echo '<br />
		<table width="90%" cellpadding="4">
		<tr>
			<th style="width:33%">' . _('Supplier Inquiries') . '</th>
			<th style="width:33%">' . _('Supplier Transactions') . '</th>
			<th style="width:33%">' . _('Supplier Maintenance') . '</th>
		</tr>';
    echo '<tr><td valign="top" class="select">';
    /* Inquiry Options */
    echo '<a href="' . $RootPath . '/SupplierInquiry.php?SupplierID=' . urlencode(stripslashes($_SESSION['SupplierID'])) . '">' . _('Supplier Account Inquiry') . '</a>';
    echo '<br /><a href="' . $RootPath . '/PO_SelectOSPurchOrder.php?SelectedSupplier=' . urlencode(stripslashes($_SESSION['SupplierID'])) . '">' . _('Add / Receive / View Outstanding Purchase Orders') . '</a>';
    echo '<br /><a href="' . $RootPath . '/PO_SelectPurchOrder.php?SelectedSupplier=' . urlencode(stripslashes($_SESSION['SupplierID'])) . '">' . _('View All Purchase Orders') . '</a>';
    wikiLink('Supplier', urlencode(stripslashes($_SESSION['SupplierID'])));
    echo '<br /><a href="' . $RootPath . '/ShiptsList.php?SupplierID=' . urlencode(stripslashes($_SESSION['SupplierID'])) . '&amp;SupplierName=' . urlencode($SupplierName) . '">' . _('List all open shipments for') . ' ' . $SupplierName . '</a>';
    echo '<br /><a href="' . $RootPath . '/Shipt_Select.php?SelectedSupplier=' . urlencode(stripslashes($_SESSION['SupplierID'])) . '">' . _('Search / Modify / Close Shipments') . '</a>';
    echo '<br /><a href="' . $RootPath . '/SuppPriceList.php?SelectedSupplier=' . urlencode(stripslashes($_SESSION['SupplierID'])) . '">' . _('Supplier Price List') . '</a>';
    echo '</td><td valign="top" class="select">';
    /* Supplier Transactions */
    echo '<a href="' . $RootPath . '/PO_Header.php?NewOrder=Yes&amp;SupplierID=' . urlencode(stripslashes($_SESSION['SupplierID'])) . '">' . _('Enter a Purchase Order for This Supplier') . '</a>';
    echo '<br /><a href="' . $RootPath . '/SupplierInvoice.php?SupplierID=' . urlencode(stripslashes($_SESSION['SupplierID'])) . '">' . _('Enter a Suppliers Invoice') . '</a>';
    echo '<br /><a href="' . $RootPath . '/SupplierCredit.php?New=true&amp;SupplierID=' . urlencode(stripslashes($_SESSION['SupplierID'])) . '">' . _('Enter a Suppliers Credit Note') . '</a>';
    echo '<br /><a href="' . $RootPath . '/Payments.php?SupplierID=' . urlencode(stripslashes($_SESSION['SupplierID'])) . '">' . _('Enter a Payment to, or Receipt from the Supplier') . '</a>';
    echo '<br /><a href="' . $RootPath . '/ReverseGRN.php?SupplierID=' . urlencode(stripslashes($_SESSION['SupplierID'])) . '">' . _('Reverse an Outstanding Goods Received Note (GRN)') . '</a>';
    echo '</td><td valign="top" class="select">';
    /* Supplier Maintenance */
    echo '<a href="' . $RootPath . '/Suppliers.php">' . _('Add a New Supplier') . '</a>
		<br /><a href="' . $RootPath . '/Suppliers.php?SupplierID=' . urlencode(stripslashes($_SESSION['SupplierID'])) . '">' . _('Modify Or Delete Supplier Details') . '</a>
		<br /><a href="' . $RootPath . '/SupplierContacts.php?SupplierID=' . urlencode(stripslashes($_SESSION['SupplierID'])) . '">' . _('Add/Modify/Delete Supplier Contacts') . '</a>
Esempio n. 9
0
        echo '<td class="number"><input type="hidden" name="RecdQty' . $WOItem->LineNumber . '" value="' . locale_number_format($WOItem->QuantityReceived, $WOItem->DecimalPlaces) . '" />' . locale_number_format($WOItem->QuantityReceived, $WOItem->DecimalPlaces) . '</td>
		  		<td class="number">' . locale_number_format($WOItem->QuantityRequired - $WOItem->QuantityReceived, $WOItem->DecimalPlaces) . '</td>';
        if ($WOItem->Controlled == 1) {
            echo '<td><input type="text" name="NextLotSNRef' . $WOItem->LineNumber . '" value="' . $_POST['NextLotSNRef' . $i] . '" /></td>';
            if ($_SESSION['DefineControlledOnWOEntry'] == 1) {
                if ($_POST['Serialised' . $i] == 1) {
                    $LotOrSN = _('S/Ns');
                } else {
                    $LotOrSN = _('Batches');
                }
                echo '<td><a href="' . $RootPath . '/WOSerialNos.php?WO=' . $_SESSION['WorkOrder' . $identifier]->OrderNumber . '&StockID=' . $_POST['OutputItem' . $i] . '&Description=' . $_POST['OutputItemDesc' . $i] . '&Serialised=' . $_POST['Serialised' . $i] . '&NextSerialNo=' . $_POST['NextLotSNRef' . $i] . '">' . $LotOrSN . '</a></td>';
            }
        }
        echo '<td>';
        if ($_SESSION['WorkOrder' . $identifier]->OrderNumber != 0) {
            wikiLink('WorkOrder', $_SESSION['WorkOrder' . $identifier]->OrderNumber . $WOItem->StockID);
        }
        echo '</td>
				<td>
					<a href="' . htmlspecialchars($_SERVER['PHP_SELF'], ENT_QUOTES, 'UTF-8') . '?identifier=' . $identifier . '&Delete=' . $WOItem->LineNumber . '">' . _('Delete') . '</a>
				</td>
			</tr>';
    }
    echo '<input type="hidden" name="NumberOfOutputs" value="' . $i . '" />';
}
echo '</table>';
echo '<table class="selection">
		<tr>
			<th colspan="5"><h3>' . _('Requirements for order') . '
				<img src="' . $RootPath . '/css/' . $Theme . '/images/printer.png" class="PrintIcon noPrint" title="' . _('Print Requirements') . '" alt="' . _('Print Requirements') . '" onclick="window.print();" />
			</h3></th>
Esempio n. 10
0
                    echo 'Error occured while performing query on database:<br>' . chr(10);
                    echo '<b>Error:</b> ' . $editor->error();
                    echo '<br><br>Please forward this message to the system administrator.';
                }
                exit;
            }
        }
    }
    include "include/admin_middel.php";
    $editor->printEditor();
} else {
    // List
    include "include/admin_middel.php";
    echo '<h1>Innstillinger for import fra kasseapparat - ' . $area['area_name'] . '</h1>' . chr(10) . chr(10);
    echo '- <a href="import-datanova.php?area=' . $area['area_id'] . '">Tilbake til importering</a><br /><br />' . chr(10);
    echo 'Se artikkelen ' . '<a href="' . wikiLink('Bookingsystemet/Import_fra_kasseapparat') . '">' . 'import fra kasseapparat' . '</a> på wikien for informasjon om import fra Datanova kasseapparat.';
    echo '<h3>Kategorier (felles for hele Jærmuseet)</h3>' . chr(10);
    if (authGetUserLevel(getUserID()) >= $user_level) {
        echo '- <a href="' . $_SERVER['PHP_SELF'] . '?area_id=' . $area['area_id'] . '&amp;editor_kat=1">' . 'Ny kategori</a><br />' . chr(10);
    }
    $QUERY = mysql_query('select * from `import_dn_kategori` ' . 'order by kat_navn');
    $kategorier = array();
    if (mysql_num_rows($QUERY)) {
        echo '<table class="prettytable">' . chr(10) . chr(10);
        echo '	<tr>' . chr(10);
        echo '		<th>' . _('ID') . '</th>' . chr(10);
        echo '		<th>Kategorinavn</th>' . chr(10);
        //echo '		<th>'._('Area').'</th>'.chr(10);
        if (authGetUserLevel(getUserID()) >= $user_level) {
            echo '		<th>' . _('Options') . '</th>' . chr(10);
        }