} </style> </head> <?php //dd($a); $deliveries = $a[0]; $datevar = $a[1]; if (!SiteHelpers::is_payg_customer($deliveries[0]['user_id'])) { $customre_detail = '<strong>Bill to: </strong>' . $deliveries[0]['first_name'] . ' ' . $deliveries[0]['last_name'] . '<br/><br/>'; $customre_detail .= '<strong>' . $deliveries[0]['company'] . '</strong><br/>'; $customre_detail .= $deliveries[0]['address'] . '<br/><br/>'; $customre_detail .= '<strong>Telephone: </strong><strong>' . $deliveries[0]['phone'] . ', ' . $deliveries[0]['phone_2'] . '</strong><br/>'; $customre_detail .= '<strong>Telephone: </strong>' . $deliveries[0]['email'] . ', ' . $deliveries[0]['alternate_email']; $account_detail = '<strong>Account Opening Date: </strong>' . date("F j, Y", strtotime($deliveries[0]['created_at'])) . '<br/>'; $account_detail .= '<strong>Package: </strong>' . SiteHelpers::account_type_names_from_account_type_id($deliveries[0]['account_type']) . '<br/>'; $account_detail .= '<strong>Billing Period: </strong>' . $datevar['month'] . ', ' . $datevar['year'] . '<br/>'; $account_detail .= '<strong>Date: </strong>' . date("F j, Y"); } else { $customre_detail = '<strong>Bill to: </strong>' . $deliveries[0]['first_name'] . ' ' . $deliveries[0]['last_name'] . '<br/><br/>'; $customre_detail .= $deliveries[0]['address'] . '<br/><br/>'; $customre_detail .= '<strong>Telephone: </strong><strong>' . $deliveries[0]['phone'] . ', ' . $deliveries[0]['phone_2'] . '</strong><br/>'; $customre_detail .= '<strong>Telephone: </strong>' . $deliveries[0]['email'] . ', ' . $deliveries[0]['alternate_email']; } ?> <div class="sbox-content"> <table style="width: 100%; margin-bottom: 100px;"> <tr> <td> {!! $customre_detail !!}