Skip to content

Commit 2e6da75

Browse files
committed
Remove dead code
1 parent 1d3078a commit 2e6da75

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

app/services/invoices/update_service.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ def call
3232

3333
old_payment_status = invoice.payment_status
3434
invoice.payment_status = params[:payment_status] if params.key?(:payment_status)
35-
invoice.purchase_order_number = params[:purchase_order_number] if params.key?(:purchase_order_number)
3635

3736
if invoice.draft? && (old_payment_status != invoice.payment_status)
3837
return result.not_allowed_failure!(code: "payment_status_update_on_draft_invoice")

0 commit comments

Comments
 (0)