| Line 1757... |
Line 1757... |
| 1757 |
self.callHistoryCrm.disposition_description='Placed Order from Different Account'
|
1757 |
self.callHistoryCrm.disposition_description='Placed Order from Different Account'
|
| 1758 |
elif self.callDisposition == 'place_order':
|
1758 |
elif self.callDisposition == 'place_order':
|
| 1759 |
self.callHistoryCrm.disposition_description='Will Place Order'
|
1759 |
self.callHistoryCrm.disposition_description='Will Place Order'
|
| 1760 |
session.commit()
|
1760 |
session.commit()
|
| 1761 |
lgr.info( "Disposition Id ----" + str(self.callHistoryCrm.id))
|
1761 |
lgr.info( "Disposition Id ----" + str(self.callHistoryCrm.id))
|
| 1762 |
jdata =self.inputs
|
1762 |
jdata = self.inputs
|
| 1763 |
lgr.info( "Input ----" + str(jdata))
|
1763 |
lgr.info( "Input ----" + str(jdata))
|
| 1764 |
if jdata:
|
1764 |
if jdata:
|
| 1765 |
for d in jdata:
|
1765 |
for d in jdata:
|
| - |
|
1766 |
d= json.loads(d)
|
| 1766 |
for key, value in d.items():
|
1767 |
for key, value in d.iteritems():
|
| 1767 |
productpricingInputs = ProductPricingInputs()
|
1768 |
productpricingInputs = ProductPricingInputs()
|
| 1768 |
productpricingInputs.user_id = self.callHistoryCrm.user_id
|
1769 |
productpricingInputs.user_id = self.callHistoryCrm.user_id
|
| 1769 |
productpricingInputs.agent_id = self.callHistoryCrm.agent_id
|
1770 |
productpricingInputs.agent_id = self.callHistoryCrm.agent_id
|
| 1770 |
productpricingInputs.disposition_id = self.callHistoryCrm.id
|
1771 |
productpricingInputs.disposition_id = self.callHistoryCrm.id
|
| 1771 |
productpricingInputs.user_id = self.callHistoryCrm.user_id
|
1772 |
productpricingInputs.user_id = self.callHistoryCrm.user_id
|
| Line 1817... |
Line 1818... |
| 1817 |
lgr.info( "Disposition Id ----\n" + str(self.callHistoryCrm.id))
|
1818 |
lgr.info( "Disposition Id ----\n" + str(self.callHistoryCrm.id))
|
| 1818 |
jdata =self.inputs
|
1819 |
jdata =self.inputs
|
| 1819 |
lgr.info( "Input ----\n" + str(jdata))
|
1820 |
lgr.info( "Input ----\n" + str(jdata))
|
| 1820 |
if jdata:
|
1821 |
if jdata:
|
| 1821 |
for d in jdata:
|
1822 |
for d in jdata:
|
| - |
|
1823 |
d= json.loads(d)
|
| 1822 |
for key, value in d.items():
|
1824 |
for key, value in d.iteritems():
|
| 1823 |
productpricingInputs = ProductPricingInputs()
|
1825 |
productpricingInputs = ProductPricingInputs()
|
| 1824 |
productpricingInputs.user_id = self.callHistoryCrm.user_id
|
1826 |
productpricingInputs.user_id = self.callHistoryCrm.user_id
|
| 1825 |
productpricingInputs.agent_id = self.callHistoryCrm.agent_id
|
1827 |
productpricingInputs.agent_id = self.callHistoryCrm.agent_id
|
| 1826 |
productpricingInputs.disposition_id = self.callHistoryCrm.id
|
1828 |
productpricingInputs.disposition_id = self.callHistoryCrm.id
|
| 1827 |
productpricingInputs.user_id = self.callHistoryCrm.user_id
|
1829 |
productpricingInputs.user_id = self.callHistoryCrm.user_id
|