h2 { margin-bottom: 0px; } p.notop { margin-top: 0px; } </style> </head> <body> <table width="100%"> <tr> <td width="40%" valign="top"> <?php echo invoice_logo($output_type); ?> <!--<h2><?php echo $this->lang->line('invoice'); ?> </h2>--> </td> <!--Aquí modificarem la part dreta on surten les dades de la empresa per baixar-la a nivell de logo---> <td style="padding-top:35px; padding-bottom: 25px;" width="60%" align="right" valign="top"> <!--<h2><?php echo invoice_from_company_name($invoice); ?> </h2>--> <p class="notop">
<?php } ?> </div> <div class="clearfix"></div> </div> <div id="invoice-container"> <div id="header"> <table> <tr> <td id="company-name"> <?php echo invoice_logo(); ?> <h2><?php echo $quote->user_company; ?> </h2> <p><?php if ($quote->user_vat_id) { echo lang("vat_id_short") . ": " . $quote->user_vat_id . '<br>'; } ?> <?php if ($quote->user_tax_code) { echo lang("tax_code_short") . ": " . $quote->user_tax_code . '<br>'; } ?>
?> <div class="alert alert-info"> <?php echo $flash_message; ?> </div> <?php } else { echo '<br>'; } ?> <div class="invoice"> <?php $logo = invoice_logo(); if ($logo) { echo $logo . '<br><br>'; } ?> <div class="row"> <div class="col-xs-12 col-md-6 col-lg-5"> <h4><?php echo $invoice->user_name; ?> </h4> <p><?php if ($invoice->user_vat_id) { echo lang("vat_id_short") . ": " . $invoice->user_vat_id . '<br>';
</div> <?php if ($flash_message) { ?> <div class="alert flash-message"> <?php echo $flash_message; ?> </div> <?php } ?> </div> <div id="invoice-container"> <div id="header"> <table> <tr> <td id="company-name"> <?php echo invoice_logo(); ?> <h2><?php echo $quote->user_name; ?></h2> <p><?php if ($quote->user_address_1) { echo $quote->user_address_1 . '<br>'; } ?> <?php if ($quote->user_address_2) { echo $quote->user_address_2 . '<br>'; } ?> <?php if ($quote->user_city) { echo $quote->user_city . ' '; } ?> <?php if ($quote->user_state) { echo $quote->user_state . ' '; } ?> <?php if ($quote->user_zip) { echo $quote->user_zip . '<br>'; } ?> <?php if ($quote->user_phone) { ?><abbr>P:</abbr><?php echo $quote->user_phone; ?><br><?php } ?> <?php if ($quote->user_fax) { ?><abbr>F:</abbr><?php echo $quote->user_fax; ?><?php } ?> </p> </td> <td class="alignr"><h2><?php echo lang('quote'); ?> <?php echo $quote->quote_number; ?></h2></td> </tr> </table> </div> <div id="invoice-to">