killbill-deposit 2.0.0 → 2.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 22ee31f5dcf3eec40e39a589d78e7922173c68cfadfe1e02984e7ee3f3f6e3ed
4
- data.tar.gz: bf0bafc7ab5bb48e27ae239b4f5a64431f8cdf663cddaaba2f8f3d9ed92d85f9
3
+ metadata.gz: dbe4c49d9288f5bbcd537c7af9afcdd4db248c22078aaa4d64a74456eb652148
4
+ data.tar.gz: 73efa399d53895d8df787988aafcd5fff73e27ab9de2c1c288f18a0d9e2a646e
5
5
  SHA512:
6
- metadata.gz: fc682dfb8af5b2d0dd8b6302038b956cd8a2d242f5697b1e791e705b6df4420bf5f368e94568c37013744528c70d15a43ac441281b894aea1d237b1d0a404747
7
- data.tar.gz: 3c57bf945532c1c9499065feef7fe5929d83b0c2069866543e606086a62f36e012a099f035a279a58666e7058110e905bd9a9221fe65fa47bcabcf404c5a2d92
6
+ metadata.gz: 90d5f72740d5758e795ee20c819f1fcb4c0208bce8f154768b8059abad4fb83fd1946ee85be99668ceed1343a0c183f8a6039723de773269e5e42ddc64810e0e
7
+ data.tar.gz: e026dbbeb3799d23b8783d3e6d3bcd9eef1b9c583103944b7a0e3e8653f85e998f0574946140f23ea203d0d0e589172ead375ec04d442c8b295db02353c44684
@@ -126,7 +126,7 @@ module Deposit
126
126
  pages.each { |page| json[:data] << formatter.call(page) }
127
127
 
128
128
  respond_to do |format|
129
- format.json { render json: json }
129
+ format.json { render json: }
130
130
  end
131
131
  end
132
132
 
@@ -8,7 +8,7 @@
8
8
  <div class="form-group d-flex pb-3">
9
9
  <%= label_tag :payment_amount, 'Amount Received', :class => 'col-sm-3 control-label' %>
10
10
  <div class="col-sm-9">
11
- <%= number_field_tag :payment_amount, nil, :step => :any, :id => 'payment_amount', :class => 'form-control', :required => true %>
11
+ <%= number_field_tag :payment_amount, 0, :step => :any, :id => 'payment_amount', :class => 'form-control', :required => true %>
12
12
  <p class="help-block mb-0">Currency: <%= @currency %></p>
13
13
  </div>
14
14
  </div>
@@ -1,6 +1,16 @@
1
- <div class="register add-new-custom-field-details">
2
- <div class="">
3
- <div class="mx-auto" style="<%= @account_id.nil? ? 'max-width: 40rem;' : 'max-width: 80rem;' %>">
1
+ <div class="kaui-container deposit-index">
2
+ <%= render partial: 'kaui/components/breadcrumb/breadcrumb', locals: {
3
+ breadcrumbs: [
4
+ { label: 'Settings', href: '/' },
5
+ { label: "Deposit", href: '#' }
6
+ ]
7
+ } %>
8
+
9
+ <div class="d-flex" style="gap: 4rem;">
10
+ <%= render template: 'kaui/layouts/kaui_setting_sidebar' %>
11
+
12
+ <div class="w-100">
13
+ <div class="mx-auto" style="<%= @account_id.nil? ? 'max-width: 40rem;' : 'max-width: 80rem;' %>">
4
14
  <h5 class="add-new-custom-field-title border-bottom pb-3 mb-3">
5
15
  <span class="icon-container">
6
16
  <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none">
@@ -14,4 +24,5 @@
14
24
  <%= render 'payment_form' %>
15
25
  </div>
16
26
  </div>
27
+ </div>
17
28
  </div>
data/config/routes.rb CHANGED
@@ -6,7 +6,7 @@ Deposit::Engine.routes.draw do
6
6
  resources :collection, only: [:index]
7
7
 
8
8
  scope '/collection' do
9
- match '/record' => 'collection#record_payments', :via => :post, :as => 'do_record_payments'
10
- match '/account_invoices' => 'collection#account_invoices', :via => :get, :as => 'account_invoices'
9
+ post '/record' => 'collection#record_payments', :as => 'do_record_payments'
10
+ get '/account_invoices' => 'collection#account_invoices', :as => 'account_invoices'
11
11
  end
12
12
  end
@@ -17,7 +17,7 @@ module Killbill
17
17
  effectiveDate: effective_date,
18
18
  paymentReferenceNumber: payment_reference_number,
19
19
  depositType: deposit_type,
20
- payments: payments
20
+ payments:
21
21
  }.to_json
22
22
 
23
23
  path = "#{KILLBILL_DEPOSIT_PREFIX}/record"
@@ -25,9 +25,9 @@ module Killbill
25
25
  body,
26
26
  {},
27
27
  {
28
- user: user,
29
- reason: reason,
30
- comment: comment
28
+ user:,
29
+ reason:,
30
+ comment:
31
31
  }.merge(options)
32
32
  response.body
33
33
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Deposit
4
- VERSION = '2.0.0'
4
+ VERSION = '2.0.2'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: killbill-deposit
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kill Bill core team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-11-12 00:00:00.000000000 Z
11
+ date: 2026-04-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: killbill-assets-ui