Пример #1
0
											<td><?php 
        echo $val->enter_loc;
        ?>
</td>
											<td><?php 
        echo $val->return_date;
        ?>
</td>
											<td><?php 
        echo $val->return_loc;
        ?>
</td>
											<td><?php 
        echo CarRental::get_currency_symbol('before', $val->currency);
        echo number_format($val->total_rental, 2, '.', ',');
        echo CarRental::get_currency_symbol('after', $val->currency);
        ?>
</td>
											<td><a href="<?php 
        echo esc_url(home_url('/'));
        ?>
?page=carrental&summary=<?php 
        echo $val->hash;
        ?>
" target="_blank" class="btn btn-info btn-xs">Show #<?php 
        echo $val->id_order;
        ?>
</a></td>
											<td>
												<form action="" method="post" class="form-inline" role="form">
													<div class="form-group">
Пример #2
0
    ?>
<span class="input-group-addon"><?php 
    echo CarRental::get_currency_symbol('before', $global_currency);
    ?>
</span><?php 
}
?>
													<input type="text" name="price_from" class="form-control" id="price-from" placeholder="Set default price from" value="<?php 
echo $edit == true ? $detail->price_from : '';
?>
">	
													<?php 
if (CarRental::get_currency_symbol('after', $global_currency) != '') {
    ?>
<span class="input-group-addon"><?php 
    echo CarRental::get_currency_symbol('after', $global_currency);
    ?>
</span><?php 
}
?>
												</div>
												<p class="help-block">* if you want to set a price from displayed on the front end when clients browse through cars, insert it here.</p>
											</div>
										</div>

										<!-- Extras //-->
										<div class="form-group">
											<label for="carrental-extras" class="col-sm-3 control-label">Extras</label>
											<div class="col-sm-9">
												<?php 
if ($extras && !empty($extras)) {