Display invoice details for editing one step form. #270

This commit is contained in:
Korina Cordero 2020-01-15 02:18:28 +00:00
parent 8da95f2ed0
commit 99e8485065
2 changed files with 3 additions and 3 deletions

View file

@ -2245,7 +2245,7 @@ class ResqJobOrderHandler implements JobOrderHandlerInterface
$params['ftags']['ticket_table'] = false;
$params['ftags']['cancel_button'] = false;
break;
case 'onestep_edit':
case 'onestep-edit':
$params['ftags']['invoice_edit'] = true;
$params['ftags']['preset_vehicle'] = true;
break;

View file

@ -420,7 +420,7 @@
</div>
<div class="m-form__seperator m-form__seperator--dashed"></div>
<div class="m-form__section{{ ftags.invoice_edit ? ' m-form__section--last' }}">
<div class="m-form__section m-form__section--last">
<div class="m-form__heading">
<h3 class="m-form__heading-title">
Invoice
@ -691,7 +691,7 @@ $(function() {
});
$(function() {
var selected_hub = '{{ obj.getHub ? obj.getHub.getID : "" }}';
var selected_hub = "";
$('#hubs-table').on('click', 'tr', function() {
var id = $(this).data('id');