|
@@ -5,12 +5,17 @@ import { BaseListView } from "../../base/base-list-view";
|
|
|
import { Lead } from "../../odoo/models/crm.lead";
|
|
|
import { LeadPage } from "../lead/lead";
|
|
|
|
|
|
+import { PouchService } from "../../services/pouch-service"
|
|
|
+import { CaseStage } from "../../odoo/models/crm.case.stage";
|
|
|
+
|
|
|
@Component({
|
|
|
selector: 'page-leads',
|
|
|
templateUrl: 'leads.html'
|
|
|
})
|
|
|
export class LeadsPage extends BaseListView<Lead> {
|
|
|
|
|
|
+ stage: string;
|
|
|
+
|
|
|
constructor(
|
|
|
public navCtrl: NavController,
|
|
|
public navParams: NavParams,
|
|
@@ -18,9 +23,9 @@ export class LeadsPage extends BaseListView<Lead> {
|
|
|
public alertCtrl: AlertController
|
|
|
) {
|
|
|
super(Lead);
|
|
|
-
|
|
|
- this.setTitle(navParams.data.title);
|
|
|
- this.setFilters(navParams.data.params.filters);
|
|
|
+
|
|
|
+ super.setTitle(navParams.data.title);
|
|
|
+ super.setFilters(navParams.data.params.filters);
|
|
|
}
|
|
|
|
|
|
/**
|
|
@@ -37,7 +42,8 @@ export class LeadsPage extends BaseListView<Lead> {
|
|
|
super.unselectItem();
|
|
|
}
|
|
|
|
|
|
- /**
|
|
|
+
|
|
|
+ /**
|
|
|
*
|
|
|
* @param item
|
|
|
*/
|