예제 #1
0
echo JText::_('COM_BOOKPRO_INVOICE_DATE');
?>
:</td>
								<td style="border: 1px #000 solid;"><?php 
echo JHtml::_('date', $this->order->created, 'd-m-Y');
?>
								</td>
							</tr>
							<tr>
								<td style="font-weight: bold; border: 1px #000 solid;"><?php 
echo JText::_('COM_BOOKPRO_ORDER_PAYMENT_STATUS');
?>
:</td>
								<td style="border: 1px #000 solid;"><span
									class="btn btn-success"> <?php 
echo PayStatus::format($this->order->pay_status);
?>
								</span></td>
							</tr>
						</table>
				
				</td>
			</tr>
		</tbody>
	</table>
	<div>
		
			<?php 
$passengers = $this->orderComplex->passengers;
//get flight information
$object = FlightHelper::getFlightDetail($passengers[0]->route_id);
예제 #2
0
        ?>
				<tr>
					<td style="font-weight: bold; border: 1px #ccc solid;">
						<?php 
        echo $key + 1;
        ?>
					</td>
					<td style="font-weight: bold; border: 1px #ccc solid;">
					<?php 
        echo JHtml::link(JURI::root() . 'index.php?option=com_bookpro&view=orderdetail&order_number=' . $order->order_number . '&email=' . $customer->email, $order->order_number, 'class="cancelbt"');
        ?>
					</td>
					
					<td style="border: 1px #ccc solid;">
						<?php 
        echo PayStatus::format($order->pay_status);
        ?>
						<br>
						 <label class="label"><?php 
        echo $order->pay_method;
        ?>
</label>
					</td>
					<td style="border: 1px #ccc solid;"><?php 
        echo OrderStatus::format($order->order_status);
        ?>
					</td>
					<td style="border: 1px #ccc solid;"><?php 
        echo CurrencyHelper::formatprice($order->subtotal);
        ?>
					</td>
예제 #3
0
 function getPayStatusSelect($select)
 {
     PayStatus::init();
     return AHtml::getFilterSelect('pay_status', 'Pay status', PayStatus::$map, $select, false, '', 'value', 'text');
 }
예제 #4
0
 function td_getPayStatusSelect($select, $id)
 {
     PayStatus::init();
     return JHtmlSelect::genericlist(PayStatus::$map, $id, 'class="td_paystatus input-small"', 'value', 'text', $select);
 }
예제 #5
0
							<td><?php 
        echo isset($orderComplex->orderinfos[0]) ? JFactory::getDate($orderComplex->orderinfos[0]->start)->format(DateHelper::getConvertDateFormat('P')) : '';
        ?>
							</td>
							<td><?php 
        echo isset($orderComplex->orderinfos[0]) ? HotelHelper::checkOutDate($orderComplex->orderinfos[0]->end) : '';
        ?>
							</td>

							<td><?php 
        echo CurrencyHelper::formatprice($subject->total);
        ?>
</td>

							<td><?php 
        echo PayStatus::format($subject->pay_status);
        ?>
							</td>


							<td><?php 
        echo OrderStatus::format($subject->order_status);
        ?>
							</td>

							<td><?php 
        echo JFactory::getDate($subject->created)->format(DateHelper::getConvertDateFormat('P'));
        ?>
							</td>

						</tr>
예제 #6
0
 public function equals(PayStatus $element)
 {
     return $element->getValue() == $this->getValue();
 }
예제 #7
0
 protected function getInput()
 {
     PayStatus::init();
     return JHTML::_('select.genericlist', PayStatus::$map, $this->name, 'Pay status', 'value', 'text', $this->value);
 }