Fixed save of task state.
This commit is contained in:
parent
fb64e186b5
commit
d4c4f797d6
2 changed files with 6 additions and 3 deletions
|
@ -159,8 +159,11 @@ class App.TicketCreate extends App.Controller
|
|||
buildScreen: (params) =>
|
||||
|
||||
if !params.ticket_id && !params.article_id
|
||||
if !_.isEmpty(params.customer_id)
|
||||
@render(options: { customer_id: params.customer_id })
|
||||
return
|
||||
@render()
|
||||
return
|
||||
|
||||
# fetch split ticket data
|
||||
@ajax(
|
||||
|
|
|
@ -19,8 +19,8 @@
|
|||
</div>
|
||||
|
||||
<div class="form-controls">
|
||||
<a class="btn btn--text btn--subtle js-cancel" href="#/"><%- @T( 'Cancel & Go Back' ) %></a>
|
||||
<button type="submit" class="btn btn--success js-submit align-right"><%- @T( 'Create' ) %></button>
|
||||
<a class="btn btn--text btn--subtle js-cancel" href="#/"><%- @T('Cancel & Go Back') %></a>
|
||||
<button type="submit" class="btn btn--success js-submit align-right"><%- @T('Create') %></button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue