UAdminHotelInvoiceController class
- Inheritance
-
- Object
- UBaseController
- UAdminHotelInvoiceController
Constructors
Properties
- contract ↔ UDormBedContractResponse?
-
getter/setter pair
- creditorController → TextEditingController
-
final
- debtController → TextEditingController
-
final
- descriptionController → TextEditingController
-
final
- dueDate ↔ DateTime?
-
getter/setter pair
- dueDateController → TextEditingController
-
final
- editing ↔ UDormBedInvoiceResponse?
-
getter/setter pair
- endDate ↔ DateTime?
-
getter/setter pairinherited
- endDateController → TextEditingController
-
finalinherited
- formContract ↔ UDormBedContractResponse?
-
getter/setter pair
-
formKey
→ GlobalKey<
FormState> -
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
list
↔ List<
UDormBedInvoiceResponse> -
getter/setter pair
- maxDebtFilterController → TextEditingController
-
final
- minDebtFilterController → TextEditingController
-
final
- pageNumber → URxInt
-
finalinherited
- pageSize ↔ int
-
getter/setter pairinherited
- paidController → TextEditingController
-
final
- penaltyController → TextEditingController
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- startDate ↔ DateTime?
-
The list filter's date range, shown in startDateController / endDateController.
getter/setter pairinherited
- startDateController → TextEditingController
-
finalinherited
- state → URxState
-
finalinherited
- statusFilter ↔ UAdminHotelInvoiceStatusFilter
-
getter/setter pair
-
tagOrderBy
→ URx<
TagOrderBy> -
finalinherited
- totalCount ↔ int
-
getter/setter pairinherited
- totalDebt ↔ double
-
Totals of the whole contract, shown when the page is opened for one contract.
getter/setter pair
- totalPages → URxInt
-
finalinherited
- totalPaid ↔ double
-
getter/setter pair
- totalPenalty ↔ double
-
getter/setter pair
- totalRemaining ↔ double
-
getter/setter pair
- type ↔ TagDormBedInvoice
-
getter/setter pair
Methods
-
applyFilters(
) → void -
clearDates(
) → void -
inherited
-
clearFilters(
) → void -
confirmAction(
Future< (dynamic, dynamic, String?)> call(), void reload(), {String? title, String? message}) → void -
Asks for confirmation (the dialog closes itself), then runs
callthrough send. Defaults to a delete prompt.inherited -
copyPayLink(
UDormBedInvoiceResponse i) → Future< void> - Copies a payment-gateway link the tenant can pay with.
-
delete(
UDormBedInvoiceResponse i) → void -
dispose(
) → void -
Releases everything this controller owns. The page that created the controller calls this from its own
State.dispose(); a subclass that adds its own notifiers overrides this and ends withsuper.dispose().override -
init(
{UDormBedContractResponse? contract}) → void -
intOf(
TextEditingController c) → int? -
inherited
-
loadForm(
UDormBedInvoiceResponse? i) → void -
markPaid(
UDormBedInvoiceResponse i) → void - Marks the invoice fully paid, without an online payment.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
numOf(
TextEditingController c) → double? -
The number typed in
c(Persian digits and separators allowed); null when empty.inherited -
pay(
UDormBedInvoiceResponse i) → Future< void> - Pays the invoice online through the payment gateway.
-
read(
) → Future< void> -
readUsersById(
List< String> ids) → Future<List< UUserResponse> > -
The users with
ids; the ones that fail to load are skipped.inherited -
save(
) → Future< bool> - Creates or updates the invoice. Returns true when the dialog can close.
-
searchContracts(
String query) → Future< List< UDormBedContractResponse> > -
searchUsers(
String query) → Future< List< UUserResponse> > -
Users matching
query, for user pickers.inherited -
send<
T> (Future< (T?, Object?, String?)> call, VoidCallback? reload) → Future<T?> -
Awaits a service call's
(ok, error, exception)result: on success toasts and runsreload, otherwise toasts the error. Returns the ok response (on create itsresultis the new id), or null when it failed.inherited -
setError(
[String? message]) → void -
inherited
-
setStatus(
UAdminHotelInvoiceStatusFilter f) → void -
setTotalPages(
int count) → void -
inherited
-
splitList(
String text) → List< String> -
"a, b، c" →
"a", "b", "c"(Latin and Persian commas).inherited -
toString(
) → String -
A string representation of this object.
inherited
-
typeOf(
UDormBedInvoiceResponse i) → TagDormBedInvoice?
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
types
→ const List<
TagDormBedInvoice>