guarantee.blade.php 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. @extends('backend.layouts.app')
  2. @section('content')
  3. <!--<div class="aiz-titlebar text-left mt-2 mb-3">-->
  4. <!-- <div class="row align-items-center">-->
  5. <!-- <div class="col">-->
  6. <!-- <h1 class="h3">{{ translate('Guarantee') }}</h1>-->
  7. <!-- </div>-->
  8. <!-- </div>-->
  9. <!--</div>-->
  10. <div class="row">
  11. <div class="col-md-8 mx-auto" style="flex: 0 0 100%;max-width: 100%;">
  12. <div class="card">
  13. <div class="card-header">
  14. <h6 class="mb-0">{{ translate('Guarantee') }}</h6>
  15. </div>
  16. <div class="card-body">
  17. <form action="{{ route('business_settings.update2') }}" method="POST" enctype="multipart/form-data">
  18. @csrf
  19. <div class="form-group row">
  20. <label class="col-md-3 col-from-label">{{translate('Must Guarantee?')}}</label>
  21. <div class="col-md-8">
  22. <label class="aiz-switch aiz-switch-success mb-0">
  23. <input type="hidden" name="types[]" value="must_guarantee">
  24. <input type="checkbox" name="must_guarantee" @if( get_setting('must_guarantee') == 'on') checked @endif>
  25. <span></span>
  26. </label>
  27. </div>
  28. </div>
  29. <div class="border-top pt-3">
  30. <div class="form-group row">
  31. <label class="col-md-3 col-from-label">{{translate('Guarantee Money')}}</label>
  32. <div class="col-md-8">
  33. <div class="form-group">
  34. <input type="hidden" name="types[]" value="guarantee_money">
  35. <input type="text" class="form-control" placeholder="{{ translate('Guarantee Money') }}" name="guarantee_money" value="{{ get_setting('guarantee_money') }}">
  36. </div>
  37. </div>
  38. </div>
  39. </div>
  40. <div class="form-group row">
  41. <label class="col-md-3 col-from-label">{{translate('Guarantee Pay Close?')}}</label>
  42. <div class="col-md-8">
  43. <label class="aiz-switch aiz-switch-success mb-0">
  44. <input type="hidden" name="types[]" value="must_guarantee_close">
  45. <input type="checkbox" name="must_guarantee_close" @if( get_setting('must_guarantee_close') == 'on') checked @endif>
  46. <span></span>
  47. </label>
  48. </div>
  49. </div>
  50. </div>
  51. <div class="text-right">
  52. <button style=" margin-right:20px;" type="submit" class="btn btn-primary">{{ translate('Update') }}</button>
  53. </div>
  54. <BR>
  55. </form>
  56. </div>
  57. </div>
  58. </div>
  59. </div>
  60. @endsection