88 </div >
99 <div class =" card-body" >
1010 <h3 class =" mb-3" > {{ $productCategory -> name } } <span class =" float-right" >
11- <a type =" button" class =" btn btn-outline-secondary btn-sm" href =" {{ url (route (' laravel-crm.product-categories.index' )) } }" ><span class =" fa fa-angle-double-left" ></span > Back to product categories </a > |
12- <a href =" {{ url (route (' laravel-crm.product-categories.edit' , $productCategory )) } }" type =" button" class =" btn btn-outline-secondary btn-sm" >Edit </a >
11+ <a type =" button" class =" btn btn-outline-secondary btn-sm" href =" {{ url (route (' laravel-crm.product-categories.index' )) } }" ><span class =" fa fa-angle-double-left" ></span > {{ ucfirst ( __ ( ' laravel-crm::lang.back_to_product_categories ' )) } } </a > |
12+ <a href =" {{ url (route (' laravel-crm.product-categories.edit' , $productCategory )) } }" type =" button" class =" btn btn-outline-secondary btn-sm" >< span class = " fa fa-edit " aria-hidden = " true " ></ span > </a >
1313 <form action =" {{ route (' laravel-crm.product-categories.destroy' ,$productCategory ) } }" method =" POST" class =" form-check-inline mr-0 form-delete-button" >
1414 {{ method_field (' DELETE ' ) } }
1515 {{ csrf_field () } }
16- <button class =" btn btn-danger btn-sm" type =" submit" data-model =" productCategory " ><span class =" fa fa-trash-o" aria-hidden =" true" ></span ></button >
16+ <button class =" btn btn-danger btn-sm" type =" submit" data-model =" {{ __ ( ' laravel-crm::lang.product_category ' ) } } " ><span class =" fa fa-trash-o" aria-hidden =" true" ></span ></button >
1717 </form >
1818 </span ></h3 >
1919
2020 <div class =" row" >
2121 <div class =" col-sm-6 border-right" >
22- <h6 class =" text-uppercase" >Details </h6 >
22+ <h6 class =" text-uppercase" >{{ ucfirst ( __ ( ' laravel-crm::lang.details ' )) } } </h6 >
2323 <hr />
2424 <dl class =" row" >
25- <dt class =" col-sm-3 text-right" >Description </dt >
25+ <dt class =" col-sm-3 text-right" >{{ ucfirst ( __ ( ' laravel-crm::lang.description ' )) } } </dt >
2626 <dd class =" col-sm-9" >{{ $productCategory -> description } } </dd >
2727 </dl >
2828
2929 </div >
3030 <div class =" col-sm-6" >
31- <h6 class =" text-uppercase section-h6-title-table" ><span >Products ({{ $productCategory -> products -> count () } } )</span ></h6 >
31+ <h6 class =" text-uppercase section-h6-title-table" ><span >{{ ucfirst ( __ ( ' laravel-crm::lang.products ' )) } } ({{ $productCategory -> products -> count () } } )</span ></h6 >
3232 <table class =" table table-hover" >
3333 <thead >
3434 <tr >
35- <th scope =" col" >Item </th >
36- <th scope =" col" width =" 120" >Price ({{ \VentureDrake \LaravelCrm \Models \Setting:: currency ()-> value ?? ' USD' } } )</th >
37- <th scope =" col" width =" 80" >Tax %</th >
38- <th scope =" col" width =" 80" >Active </th >
35+ <th scope =" col" >{{ ucfirst ( __ ( ' laravel-crm::lang.item ' )) } } </th >
36+ <th scope =" col" width =" 120" >{{ ucfirst ( __ ( ' laravel-crm::lang.price ' )) } } ({{ \VentureDrake \LaravelCrm \Models \Setting:: currency ()-> value ?? ' USD' } } )</th >
37+ <th scope =" col" width =" 80" >{{ ucfirst ( __ ( ' laravel-crm::lang.tax ' )) } } %</th >
38+ <th scope =" col" width =" 80" >{{ ucfirst ( __ ( ' laravel-crm::lang.active ' )) } } </th >
3939 </tr >
4040 </thead >
4141 <tbody >
5353 </div >
5454 </div >
5555 @component (' laravel-crm::components.card-footer' )
56- <a href =" {{ url (route (' laravel-crm.product-categories.index' )) } }" class =" btn btn-outline-secondary" >Cancel </a >
57- <button type =" submit" class =" btn btn-primary" >Save Changes </button >
56+ <a href =" {{ url (route (' laravel-crm.product-categories.index' )) } }" class =" btn btn-outline-secondary" >{{ ucfirst ( __ ( ' laravel-crm::lang.cancel ' )) } } </a >
57+ <button type =" submit" class =" btn btn-primary" >{{ ucwords ( __ ( ' laravel-crm::lang.save_changes ' )) } } </button >
5858 @endcomponent
5959 </div >
6060@endsection
0 commit comments