2018-07-31 04:11:00 +00:00
@ extends ( 'adminlte::layouts.app' )
@ section ( 'htmlheader_title' )
Setup
@ endsection
2021-07-01 09:41:12 +00:00
@ section ( 'page_title' )
Setup
@ endsection
2018-07-31 04:11:00 +00:00
@ section ( 'contentheader_title' )
2021-07-01 23:12:34 +00:00
{{ $site -> site_name }}
2018-07-31 04:11:00 +00:00
@ endsection
@ section ( 'contentheader_description' )
2021-12-17 05:09:03 +00:00
Setup #{{ $site->site_id }}
2018-07-31 04:11:00 +00:00
@ endsection
@ section ( 'main-content' )
2021-07-01 09:41:12 +00:00
< div class = " row " >
< div class = " col-12 " >
2021-07-09 02:41:15 +00:00
< div class = " card card-dark " >
2021-07-01 09:41:12 +00:00
< div class = " card-header " >
< h1 class = " card-title " > Setup Configuration </ h1 >
2024-07-23 10:22:51 +00:00
< x - leenooks :: button . success class = " float-right " />
2021-07-01 09:41:12 +00:00
</ div >
< div class = " card-body " >
< form class = " g-0 needs-validation " method = " POST " enctype = " multipart/form-data " role = " form " >
@ csrf
2018-07-31 04:11:00 +00:00
2021-07-01 09:41:12 +00:00
< div class = " row " >
2024-07-23 10:22:51 +00:00
< div class = " col-12 col-sm-6 col-lg-4 " >
2021-07-01 09:41:12 +00:00
< div class = " row " >
2024-07-23 10:22:51 +00:00
< div class = " col " >
< x - leenooks :: form . text name = " site_name " label = " Organisation Name " helper = " System Name used everywhere. " feedback = " Organisation Name is required! " : value = " $site->site_name " required />
2021-07-01 09:41:12 +00:00
</ div >
</ div >
2018-07-31 04:11:00 +00:00
2021-07-01 09:41:12 +00:00
< div class = " row " >
2024-07-23 10:22:51 +00:00
< div class = " col " >
< x - leenooks :: form . text name = " site_address1 " label = " Address " placeholder = " Address... " : value = " $site->site_address1 " required />
< x - leenooks :: form . text name = " site_address2 " helper = " At Least 1 address line required " : value = " $site->site_address2 " />
2021-07-01 09:41:12 +00:00
</ div >
</ div >
2021-07-01 23:12:34 +00:00
< div class = " row " >
2024-07-23 10:22:51 +00:00
< div class = " col-12 col-md-8 " >
< x - leenooks :: form . text name = " site_city " label = " City " feedback = " City is required " : value = " $site->site_city " required />
2021-07-01 23:12:34 +00:00
</ div >
</ div >
2021-07-01 09:41:12 +00:00
< div class = " row " >
2024-07-23 10:22:51 +00:00
< div class = " col-12 col-md-4 " >
< x - leenooks :: form . text name = " site_state " label = " State " feedback = " State is required " : value = " $site->site_state " required />
</ div >
< div class = " col-12 col-md-4 " >
< x - leenooks :: form . text name = " site_postcode " label = " Post Code " feedback = " Postcode is required " : value = " $site->site_postcode " required />
2021-07-01 09:41:12 +00:00
</ div >
</ div >
2024-07-23 10:22:51 +00:00
</ div >
< div class = " col-12 col-sm-6 col-lg-4 " >
< x - leenooks :: form . text name = " site_phone " label = " Phone " : value = " $site->site_phone " />
< x - leenooks :: form . text name = " site_fax " label = " Fax " : value = " $site->site_fax " />
< x - leenooks :: form . email name = " site_email " label = " Email " feedback = " Email is required " : value = " $site->site_email " required />
< x - leenooks :: form . text name = " site_tax " label = " Tax Number " prepend = " <small>ABN</small> " feedback = " Tax Number is required " : value = " $site->site_tax " required />
</ div >
2021-07-01 09:41:12 +00:00
2024-07-23 10:22:51 +00:00
< div class = " col-12 col-sm-6 col-lg-4 " >
2021-07-01 09:41:12 +00:00
< div class = " row " >
2024-07-23 10:22:51 +00:00
< div class = " col " >
< x - leenooks :: form . file name = " site_logo " label = " Site Logo " helper = " Choose a file " : value = " $site->site_logo " >< img class = " col-12 p-2 border mb-4 " src = " { { asset( $site->site_logo ) }} " ></ x - leenooks :: form . file >
2021-07-01 09:41:12 +00:00
</ div >
</ div >
< div class = " row " >
2024-07-23 10:22:51 +00:00
< div class = " col " >
< x - leenooks :: form . file name = " email_logo " label = " Email Logo " helper = " Choose a file " : value = " $site->email_logo " >< img class = " col-12 p-2 border mb-4 " src = " { { asset( $site->email_logo ) }} " ></ x - leenooks :: form . file >
2021-07-01 09:41:12 +00:00
</ div >
</ div >
</ div >
2018-07-31 04:11:00 +00:00
</ div >
2021-07-01 09:41:12 +00:00
< div class = " row " >
< div class = " col-12 " >
2024-07-23 10:22:51 +00:00
< x - leenooks :: form . textarea name = " site_description " label = " Organisation Description " placeholder = " Site Description... " helper = " Brief description of site. " : value = " $site->site_description " />
2018-07-31 04:11:00 +00:00
</ div >
2021-07-01 09:41:12 +00:00
</ div >
2018-07-31 04:11:00 +00:00
2021-07-01 09:41:12 +00:00
< div class = " row " >
< div class = " col-12 " >
2024-07-23 10:22:51 +00:00
< x - leenooks :: button . cancel />
2021-07-01 09:41:12 +00:00
@ can ( 'wholesaler' )
2024-07-23 10:22:51 +00:00
< x - leenooks :: button . submit class = " float-right " > Save </ x - leenooks :: button . submit >
2021-07-01 09:41:12 +00:00
@ endcan
2018-07-31 04:11:00 +00:00
</ div >
</ div >
2021-07-01 09:41:12 +00:00
</ form >
2018-07-31 04:11:00 +00:00
</ div >
2021-07-01 09:41:12 +00:00
</ div >
2018-07-31 04:11:00 +00:00
</ div >
</ div >
2021-07-01 09:41:12 +00:00
@ endsection