<?php
/**
 * Template Name: Mẫu hóa đơn
 *
 * @package WordPress
 * @subpackage Twenty_Sixteen
 * @since Twenty Sixteen 2.1
 */
get_header();

// $invoice_temp_01 = wp_get_attachment_image_src(274, '423x600' );
// list ảnh mẫu hóa đơn
$arr_invoice = array(
    1  => 274,
    2  => 275,
    3  => 276,
    4  => 277,
    5  => 278,
    6  => 279,
    7  => 280,
    8  => 281,
    9  => 283,
    10 => 955,
    11 => 956,
    12 => 957,
    13 => 958,
    14 => 959,
    15 => 960,
    16 => 961,
    17 => 962,
    18 => 963,
    19 => 964,
    20 => 965,
    21 => 966,
);
?>
<?php get_template_part( 'template-parts/content', 'intro-slider' ); ?>

<section class="container ">
	<div class="row text-center">

    </div>
    <div class="text-left">
        <h1 class="feature-title">MẪU HÓA ĐƠN THAM KHẢO</h1>
    </div>
    <div class="row">
        <?php foreach ($arr_invoice as $key => $val):
            $invoice_temp = wp_get_attachment_image_src($val, '423x600' );
        ?>
            <div class="col-xs-12 col-sm-12 col-md-4 text-center wow flipInY">
                <img src="<?php echo $invoice_temp[0] ?>" class="img-fluid tpl-hoadon">
                <p class="invoice-template-name">Mẫu hóa đơn số <?=$key?></p>
            </div>
        <?php endforeach;?>
    </div>

</section>

<?php get_footer(); ?>