mirror of
https://github.com/InvoiceShelf/InvoiceShelf.git
synced 2026-09-01 21:00:58 +00:00
refactor(sales): rewrite legacy-era regions of the document services, controllers, credit-note request and routes in place
This commit is contained in:
@@ -8,7 +8,7 @@ use Illuminate\Validation\Rule;
|
||||
class CreateCreditNoteRequest extends FormRequest
|
||||
{
|
||||
/**
|
||||
* Determine if the user is authorized to make this request.
|
||||
* Whether this request may proceed at all.
|
||||
*
|
||||
* The controller authorizes the ability against the invoice being credited.
|
||||
*/
|
||||
@@ -18,7 +18,7 @@ class CreateCreditNoteRequest extends FormRequest
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the validation rules that apply to the request.
|
||||
* The shape a credit-note payload has to satisfy.
|
||||
*
|
||||
* "items" is optional: an absent or empty list credits every remaining
|
||||
* quantity of the invoice, which is the full reversal. Each supplied line
|
||||
|
||||
Reference in New Issue
Block a user