mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
save
This commit is contained in:
@@ -3,7 +3,7 @@ export class EventRecurrence{
|
|||||||
Day?: number;
|
Day?: number;
|
||||||
DayOfWeek?:number;
|
DayOfWeek?:number;
|
||||||
Month?: number;
|
Month?: number;
|
||||||
LastOcurrence?: Date;
|
LastOccurrence?: Date;
|
||||||
|
|
||||||
/* public EventRecurrence(){
|
/* public EventRecurrence(){
|
||||||
this.Type = "-1";
|
this.Type = "-1";
|
||||||
|
|||||||
@@ -177,7 +177,7 @@
|
|||||||
<div class="ion-input-class">
|
<div class="ion-input-class">
|
||||||
<ion-datetime
|
<ion-datetime
|
||||||
placeholder="Última ocorrência"
|
placeholder="Última ocorrência"
|
||||||
[(ngModel)]="postEvent.EventRecurrence.LastOcurrence"
|
[(ngModel)]="postEvent.EventRecurrence.LastOccurrence"
|
||||||
displayFormat="D MMM YYYY H:mm"
|
displayFormat="D MMM YYYY H:mm"
|
||||||
minuteValues="0,15,30,45"
|
minuteValues="0,15,30,45"
|
||||||
monthShortNames="Jan, Fev, Mar, Abr, Mai, Jun, Jul, Aug, Sep, Out, Nov, Dez"
|
monthShortNames="Jan, Fev, Mar, Abr, Mai, Jun, Jul, Aug, Sep, Out, Nov, Dez"
|
||||||
|
|||||||
@@ -98,7 +98,7 @@ export class EditEventPage implements OnInit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
this.selectedRecurringType = "-1";
|
this.selectedRecurringType = this.postEvent.EventRecurrence.Type;
|
||||||
|
|
||||||
window.onresize = (event) => {
|
window.onresize = (event) => {
|
||||||
// if not mobile remove all component
|
// if not mobile remove all component
|
||||||
|
|||||||
@@ -179,7 +179,7 @@
|
|||||||
<div class="ion-input-class">
|
<div class="ion-input-class">
|
||||||
<ion-datetime
|
<ion-datetime
|
||||||
placeholder="Última ocorrência"
|
placeholder="Última ocorrência"
|
||||||
[(ngModel)]="postEvent.EventRecurrence.LastOcurrence"
|
[(ngModel)]="postEvent.EventRecurrence.LastOccurrence"
|
||||||
displayFormat="DD MMM YYYY"
|
displayFormat="DD MMM YYYY"
|
||||||
monthShortNames="Jan, Fev, Mar, Abr, Mai, Jun, Jul, Aug, Sep, Out, Nov, Dez"
|
monthShortNames="Jan, Fev, Mar, Abr, Mai, Jun, Jul, Aug, Sep, Out, Nov, Dez"
|
||||||
min="2021"
|
min="2021"
|
||||||
|
|||||||
@@ -86,6 +86,8 @@ export class NewEventPage implements OnInit {
|
|||||||
|
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
this.selectedRecurringType = "-1";
|
this.selectedRecurringType = "-1";
|
||||||
|
console.log(this.postEvent);
|
||||||
|
|
||||||
this.getRecurrenceTypes();
|
this.getRecurrenceTypes();
|
||||||
|
|
||||||
/* console.log(this.profile); */
|
/* console.log(this.profile); */
|
||||||
|
|||||||
Reference in New Issue
Block a user