mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-27 11:41:09 -04:00
Merge branch 'v5-issues-fix' into 'master'
fix pdf issue & payment update issue See merge request mohit.panjvani/crater-web!1335
This commit is contained in:
@ -195,7 +195,7 @@ class Payment extends Model implements HasMedia
|
||||
$invoice->addInvoicePayment($this->amount);
|
||||
}
|
||||
|
||||
if ($this->invoice_id === $request->invoice_id && $request->amount !== $this->amount) {
|
||||
if ($this->invoice_id && $this->invoice_id === $request->invoice_id && $request->amount !== $this->amount) {
|
||||
$invoice = Invoice::find($this->invoice_id);
|
||||
$invoice->addInvoicePayment($this->amount);
|
||||
$invoice->subtractInvoicePayment($request->amount);
|
||||
|
||||
@ -321,6 +321,7 @@
|
||||
letter-spacing: 0.05em;
|
||||
color: #040405;
|
||||
width: 108px;
|
||||
white-space: nowrap;
|
||||
height: 19.87px;
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
|
||||
@ -331,6 +331,7 @@
|
||||
letter-spacing: 0.05em;
|
||||
color: #040405;
|
||||
width: 108px;
|
||||
white-space: nowrap;
|
||||
height: 19.87px;
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
|
||||
@ -281,6 +281,7 @@
|
||||
letter-spacing: 0.05em;
|
||||
color: #040405;
|
||||
width: 108px;
|
||||
white-space: nowrap;
|
||||
height: 19.87px;
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
|
||||
@ -271,6 +271,7 @@
|
||||
letter-spacing: 0.05em;
|
||||
color: #040405;
|
||||
width: 108px;
|
||||
white-space: nowrap;
|
||||
height: 19.87px;
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
|
||||
@ -313,6 +313,7 @@
|
||||
letter-spacing: 0.05em;
|
||||
color: #040405;
|
||||
width: 108px;
|
||||
white-space: nowrap;
|
||||
height: 19.87px;
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
|
||||
@ -242,6 +242,7 @@
|
||||
letter-spacing: 0.05em;
|
||||
color: #040405;
|
||||
width: 108px;
|
||||
white-space: nowrap;
|
||||
height: 19.87px;
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
|
||||
@ -218,6 +218,7 @@
|
||||
letter-spacing: 0.05em;
|
||||
color: #040405;
|
||||
width: 108px;
|
||||
white-space: nowrap;
|
||||
height: 19.87px;
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user