Hallo,
Ik werk met de laatste versie van virtuemart 2.5.17
Ben bezig met de laatste loodjes. 1 van de zaken die ik nog moet fixen is dat er op 1 of andere vage reden geen order factuurdatum op de factuur word weergegeven.
Wanneer ik in de code kijk (invoice_order.php), staat er volgens mij wel dat hij dit moet laten zien.
Wat is er mis? Hoe kan ik order/factuur datum weergeven op factuur
en als er betaald is ook de betaaldatum
Met vriendelijke groet,
Ik werk met de laatste versie van virtuemart 2.5.17
Ben bezig met de laatste loodjes. 1 van de zaken die ik nog moet fixen is dat er op 1 of andere vage reden geen order factuurdatum op de factuur word weergegeven.
Wanneer ik in de code kijk (invoice_order.php), staat er volgens mij wel dat hij dit moet laten zien.
Code:
<?php
/**
*
* Order detail view
*
* @package VirtueMart
* @subpackage Orders
* @author Oscar van Eijk, Valerie Isaksen
* @link http://ift.tt/SyX1sJ
* @copyright Copyright (c) 2004 - 2010 VirtueMart Team. All rights reserved.
* @license http://ift.tt/iLWIb2 GNU/GPL, see LICENSE.php
* VirtueMart is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* @version $Id: details_order.php 5341 2012-01-31 07:43:24Z alatak $
*/
// Check to ensure this file is included in Joomla!
defined('_JEXEC') or die('Restricted access');
?>
<?php
if ($this->doctype == 'invoice') {
if ($this->invoiceNumber) { ?>
<h1><?php echo JText::_('COM_VIRTUEMART_INVOICE').' '.$this->invoiceNumber; ?> </h1>
<?php }
} elseif ($this->doctype == 'deliverynote') { ?>
<h1><?php echo JText::_('COM_VIRTUEMART_DELIVERYNOTE'); ?> </h1>
<?php } elseif ($this->doctype == 'confirmation') { ?>
<h1><?php echo JText::_('COM_VIRTUEMART_CONFIRMATION'); ?> </h1>
<?php } ?>
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<?php if ($this->invoiceNumber) { ?>
<tr>
<td class=""><?php echo JText::_('COM_VIRTUEMART_INVOICE_DATE') ?></td>
<td align="left"><?php echo vmJsApi::date($this->invoiceDate, 'LC4', true); ?></td>
</tr>
<?php } ?>
<?php if (!empty($this->orderDetails['details']['BT']->delivery_date)) { ?>
<tr>
<td class=""><?php echo JText::_('COM_VIRTUEMART_DELIVERY_DATE') ?></td>
<td align="left"><?php echo $this->orderDetails['details']['BT']->delivery_date ?></td>
</tr>
<?php } ?>
<tr>
<td ><?php echo JText::_('COM_VIRTUEMART_ORDER_PRINT_PO_NUMBER') ?></td>
<td align="left"><strong>
<?php echo $this->orderDetails['details']['BT']->order_number; ?>
</strong>
</td>
</tr>
<tr>
<td class=""><?php echo JText::_('COM_VIRTUEMART_ORDER_PRINT_PO_DATE') ?></td>
<td align="left"><?php echo vmJsApi::date($this->orderDetails['details']['BT']->created_on, 'LC4', true); ?></td>
</tr>
<tr>
<td class=""><?php echo JText::_('COM_VIRTUEMART_ORDER_PRINT_PO_STATUS') ?></td>
<td align="left"><?php echo $this->orderstatuses[$this->orderDetails['details']['BT']->order_status]; ?></td>
</tr>
<tr>
<td class=""><?php echo JText::_('COM_VIRTUEMART_ORDER_PRINT_SHIPMENT_LBL') ?></td>
<td align="left"><?php
echo $this->orderDetails['shipmentName'];
?></td>
</tr>
<tr>
<td class=""><?php echo JText::_('COM_VIRTUEMART_ORDER_PRINT_PAYMENT_LBL') ?></td>
<td align="left"><?php echo $this->orderDetails['paymentName']; ?>
</td>
</tr>
<?php if ($this->orderDetails['details']['BT']->customer_note) { ?>
<tr>
<td><?php echo JText::_('COM_VIRTUEMART_ORDER_PRINT_CUSTOMER_NOTE') ?></td>
<td valign="top" align="left" width="50%"><?php echo $this->orderDetails['details']['BT']->customer_note; ?></td>
</tr>
<?php } ?>
<?php if ($this->doctype == 'invoice') { ?>
<tr>
<td class="orders-key"><strong><?php echo JText::_('COM_VIRTUEMART_ORDER_PRINT_TOTAL') ?></strong></td>
<td class="orders-key" align="left"><strong><?php echo $this->currency->priceDisplay($this->orderDetails['details']['BT']->order_total,$this->currency); ?></strong></td>
</tr>
<?php } ?>
<tr>
<td colspan="2"></td>
</tr>
<tr>
<td valign="top"><strong>
<?php echo JText::_('COM_VIRTUEMART_ORDER_PRINT_BILL_TO_LBL') ?></strong> <br/>
<table border="0"><?php
foreach ($this->userfields['fields'] as $field) {
if (!empty($field['value'])) {
echo '<tr><td class="key">' . $field['title'] . '</td>'
. '<td>' . $field['value'] . '</td></tr>';
}
}
?></table>
</td>
<td valign="top" ><strong>
<?php echo JText::_('COM_VIRTUEMART_ORDER_PRINT_SHIP_TO_LBL') ?></strong><br/>
<table border="0"><?php
foreach ($this->shipmentfields['fields'] as $field) {
if (!empty($field['value'])) {
echo '<tr><td class="key">' . $field['title'] . '</td>'
. '<td>' . $field['value'] . '</td></tr>';
}
}
?></table>
</td>
</tr>
</table>
Wat is er mis? Hoe kan ik order/factuur datum weergeven op factuur
en als er betaald is ook de betaaldatum
Met vriendelijke groet,
Geen datums op factuur