File: /var/www/vhosts/creativefellows.nl/jhtaxatie.creativefellows.nl/views/taxation_pricing.php
<?php
echo '<div class="row rapportages">';
/*
* Get Fields to show in page
*/
$taxation_transport = $data["fields"]["Klant"][13];
$taxation_value = $data["fields"]["Klant"][14];
$taxation_status = $data["fields"]["Klant"][5];
$taxation_remarks = $data["fields"]["Conditie"][11];
$taxation_include = $data["fields"]["Conditie"][12];
/*
* Header
*/
echo '<div class="small-12 columns">';
echo '<h1 class="text-center progress-header">';
echo 'Taxatiewaarde';
echo '<a href="/taxation" class="previous-step"><i class="fa fa-home" aria-hidden="true"></i></a>';
echo '<a href="'. $data["taxation"]->pdfUrl() .'" class="download-report" target="_blank"><i class="fa fa-file-pdf-o" aria-hidden="true"></i></a>';
echo '</h1>';
echo '</div>';
/*
* Form
*/
echo '<form class="default-form" action="'. $router->pathFor('pricing.patch',["id" => $data["taxation"]->getId()]).'" method="post" enctype="multipart/form-data">';
echo '<div class="small-12 columns">';
echo '<h3 class="text-center">'. $data["taxation"]->getCompany() .'</h3>';
echo '</div>';
/*
* Taxation value element
*/
echo $taxation_value->getInputElement($data["taxation"]->taxation_value);
/*
* Taxation status
*/
echo $taxation_status->getInputElement($data["taxation"]->status);
/*
* Taxation remarks
*/
echo $taxation_remarks->getInputElement($data["taxation"]->gg_remarks);
/*
* Include_remarks
*/
echo $taxation_include->getInputElement($data["taxation"]->include_remarks);
/*
* transport_supplier
*/
echo $taxation_transport->getInputElement($data["taxation"]->transport_supplier);
/*
* Save Buttons
*/
echo '<div class="small-12 large-12 columns small-text-center">';
echo '<a href="'. $router->pathFor('taxation.view',["id" => $data["taxation"]->getId()]) .'" type="'. $button_type .'" class="button secondary">Wijzigen</a>';
echo ' ';
echo '<button type="submit" class="button">Opslaan</button>';
echo '</div>';
echo '</form>';
echo '</div>';
?>