2018-11-07 10:36:42 +01:00
@ extends ( 'layouts.master' , [ 'header' => $header ])
2018-11-07 06:22:36 +01:00
@ section ( 'body' )
2019-02-17 11:34:46 +01:00
2018-12-13 12:01:33 +01:00
< main class = " main " id = " client_edit " >
2018-12-13 00:23:21 +01:00
2018-12-07 11:57:20 +01:00
< vue - toastr ref = " toastr " ></ vue - toastr >
2018-11-21 09:28:07 +01:00
< div class = " container-fluid " >
2018-12-05 09:23:12 +01:00
2018-12-07 11:57:20 +01:00
< div class = " col " style = " padding: 0px; " >
< ul class = " nav nav-pills mb-1 " id = " pills-tab " role = " tablist " >
< li class = " nav-item " >
2019-01-25 11:47:23 +01:00
< a class = " nav-link active show " id = " pills-home-tab " data - toggle = " pill " href = " #pills-home " role = " tab " aria - controls = " pills-home " aria - selected = " true " >< i class = " icon-user " ></ i > {{ ctrans ( 'texts.client' ) }} </ a >
2018-12-07 11:57:20 +01:00
</ li >
2018-12-13 00:23:21 +01:00
@ foreach ( $pills as $pill )
< li class = " nav-item " >
< a class = " nav-link " id = " pills- { { $pill['alias'] }}-tab " data - toggle = " pill " href = " #pills- { { $pill['alias'] }} " role = " tab " aria - controls = " pills- { { $pill['alias'] }} " aria - selected = " false " >< i class = " icon- { { $pill [ 'icon' ] } } " ></ i > {{ $pill [ 'name' ] }} </ a >
</ li >
@ endforeach
2018-12-13 12:01:33 +01:00
< li class = " nav-item " >
2019-01-25 11:47:23 +01:00
< a class = " nav-link " id = " pills-settings-tab " data - toggle = " pill " href = " #pills-settings " role = " tab " aria - controls = " pills-settings " aria - selected = " false " >< i class = " icon-settings " ></ i > {{ ctrans ( 'texts.settings' ) }} </ a >
2018-12-13 12:01:33 +01:00
</ li >
2018-12-07 11:57:20 +01:00
</ ul >
2019-02-17 11:34:46 +01:00
< div class = " tab-content " id = " pills-tabContent " style = " margin-top:20px; background:#fff; " >
2018-12-07 11:57:20 +01:00
2019-02-17 11:34:46 +01:00
< div class = " tab-pane fade active show " id = " pills-home " role = " tabpanel " aria - labelledby = " pills-home-tab " style = " background-color: #fff; padding: 0px; " >
2018-12-07 11:57:20 +01:00
2019-01-25 11:47:23 +01:00
< client - edit - form : company = " { { $company }} " : clientdata = " { { $client }} " : hashed_id = " ' { { $hashed_id }}' " : countries = " { { $countries }} " ></ client - edit - form >
2018-12-07 11:57:20 +01:00
2018-12-13 00:23:21 +01:00
</ div >
2018-12-07 11:57:20 +01:00
2018-12-13 00:23:21 +01:00
@ foreach ( $pills as $pill )
2018-11-21 09:28:07 +01:00
2018-12-13 00:23:21 +01:00
< div class = " tab-pane fade " id = " pills- { { $pill['alias'] }} " role = " tabpanel " aria - labelledby = " pills- { { $pill['alias'] }}-tab " >
2018-12-13 12:01:33 +01:00
@ include ( $pill [ 'alias' ] . '::.edit' )
2018-12-13 00:23:21 +01:00
</ div >
@ endforeach
2018-12-07 11:57:20 +01:00
2019-02-17 11:34:46 +01:00
< div class = " tab-pane fade " id = " pills-settings " role = " tabpanel " aria - labelledby = " pills-settings-tab " style = " background-color: #fff; padding: 0px; " >
< client - settings
: client_settings = " { { $settings }} "
: currencies = " { { $currencies }} "
: languages = " { { $languages }} "
: payment_terms = " { { $payment_terms }} "
: industries = " { { $industries }} "
: sizes = " { { $sizes }} "
: company = " { { $company }} "
>
</ client - settings >
2018-12-07 11:57:20 +01:00
2018-11-22 12:12:41 +01:00
</ div >
2018-12-07 11:57:20 +01:00
</ div >
2018-11-07 06:22:36 +01:00
2018-12-07 11:57:20 +01:00
</ div >
2018-11-22 12:12:41 +01:00
2018-11-07 06:22:36 +01:00
</ main >
2018-12-07 11:57:20 +01:00
2019-02-17 11:34:46 +01:00
< script src = " { { mix('/js/client_edit.min.js') }} " ></ script >
2018-11-07 06:22:36 +01:00
2018-11-10 14:24:36 +01:00
@ endsection