index.blade.php 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. @extends('seller.layouts.app')
  2. @section('panel_content')
  3. <div class="aiz-titlebar mt-2 mb-4">
  4. <div class="row align-items-center">
  5. <div class="col-md-6">
  6. <!--<h1 class="h3">{{ translate('Transaction Password') }}</h1>-->
  7. @if ($user->tpwd != "")
  8. {{ translate('If you forget the transaction password, please contact customer service to retrieve the transaction password')}}
  9. @endif
  10. </div>
  11. </div>
  12. </div>
  13. <form action="{{ route('seller.transaction.update') }}" method="POST" enctype="multipart/form-data">
  14. <input name="_method" type="hidden" value="POST">
  15. @csrf
  16. @if ($user->tpwd != "")
  17. <input name="type" type="hidden" value="2">
  18. @else
  19. <input name="type" type="hidden" value="1">
  20. @endif
  21. <!-- Basic Info-->
  22. <div class="card">
  23. <div class="card-header">
  24. <h5 class="mb-0 h6">{{ translate('Transaction Password')}}</h5>
  25. </div>
  26. <div class="card-body">
  27. @if ($user->tpwd != "")
  28. <div class="form-group row">
  29. <label class="col-md-2 col-form-label" for="spwd">{{ translate('original password') }}</label>
  30. <div class="col-md-10">
  31. <input type="password" name="spwd" id="spwd" class="form-control" placeholder="{{ translate('original password') }}" required>
  32. </div>
  33. </div>
  34. @endif
  35. <div class="form-group row">
  36. <label class="col-md-2 col-form-label" for="password">{{ translate('Transaction Password') }}</label>
  37. <div class="col-md-10">
  38. <input type="password" name="password" id="password" class="form-control" placeholder="{{ translate('Transaction Password') }}" required>
  39. </div>
  40. </div>
  41. <div class="form-group row">
  42. <label class="col-md-2 col-form-label" for="confirm_password">{{ translate('Confirm Password') }}</label>
  43. <div class="col-md-10">
  44. <input type="password" name="confirm_password" id="confirm_password" class="form-control" placeholder="{{ translate('Confirm Password') }}" >
  45. </div>
  46. </div>
  47. <div class="form-group text-right">
  48. <button type="submit" class="btn btn-sm btn-primary">{{translate('Save')}}</button>
  49. </div>
  50. </div>
  51. </div>
  52. </form>
  53. @endsection