Пример #1
0
            <input name="factory_st" value="<?php 
    echo $order->factory_st;
    ?>
" class="required" />
            粒,共
            <input name="factory_st_weight" value="<?php 
    echo $order->factory_st_weight;
    ?>
" class="required" />
            克拉
        </div>
    <?php 
} elseif ($type === 'Customer') {
    ?>
        <div class="more-info">
            <span>客户下单当天的金价为</span>
            <span>PT950:<?php 
    echo Price::get('PT950', $order->submit_time);
    ?>
元/克</span>
            <span>AU750:<?php 
    echo Price::get('AU750', $order->submit_time);
    ?>
元/克</span>
        </div>
    <?php 
}
?>
    <input type="submit" value="确定">
</form>
Пример #2
0
 public function Prices($PricePageID)
 {
     return Price::get()->filter(array('PricePageID' => $PageID))->sort('Created', 'ASC');
 }