Subversion Repositories SmartDukaan

Rev

Rev 23237 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 23237 Rev 23302
Line 169... Line 169...
169
    shipment[F_CONSIGNEE_ADDRESS1] = order.customer_address1 
169
    shipment[F_CONSIGNEE_ADDRESS1] = order.customer_address1 
170
    shipment[F_CONSIGNEE_ADDRESS2] = order.customer_address2
170
    shipment[F_CONSIGNEE_ADDRESS2] = order.customer_address2
171
    shipment[F_CONSIGNEE_ADDRESS3] = ''
171
    shipment[F_CONSIGNEE_ADDRESS3] = ''
172
    shipment[F_DESTINATION_CITY] = order.customer_city 
172
    shipment[F_DESTINATION_CITY] = order.customer_city 
173
    shipment[F_STATE] = order.customer_state
173
    shipment[F_STATE] = order.customer_state
174
    shipment[F_TELEPHONE] = "0123456789"
174
    shipment[F_TELEPHONE] = order.customer_mobilenumber
175
    shipment[F_MOBILE] = order.customer_mobilenumber 
175
    shipment[F_MOBILE] = order.customer_mobilenumber 
176
    shipment[F_ITEM_DESCRIPTION] = "/".join(itemDescription)
176
    shipment[F_ITEM_DESCRIPTION] = "/".join(itemDescription)
177
    shipment[F_PINCODE] = '110037'
177
    shipment[F_PINCODE] = order.customer_pincode
178
    shipment[F_PIECES] = int(total_pieces)
178
    shipment[F_PIECES] = int(total_pieces)
179
    shipment[F_COLLECTABLE_VALUE] = total_payable if order.cod else 0
179
    shipment[F_COLLECTABLE_VALUE] = total_payable if order.cod else 0
180
    shipment[F_DECLARED_VALUE] = declared_value 
180
    shipment[F_DECLARED_VALUE] = declared_value 
181
    shipment[F_ACTUAL_WEIGHT] = total_weight 
181
    shipment[F_ACTUAL_WEIGHT] = total_weight 
182
    shipment[F_VOLUMETRIC_WEIGHT] = '0'
182
    shipment[F_VOLUMETRIC_WEIGHT] = '0'
183
    shipment[F_LENGTH] = 10
183
    shipment[F_LENGTH] = 10
184
    shipment[F_BREADTH] = 10
184
    shipment[F_BREADTH] = 10
185
    shipment[F_HEIGHT] = 10
185
    shipment[F_HEIGHT] = 10
186
    shipment[F_PICKUP_NAME] = warehouseAddressObj.contact_person
186
    shipment[F_PICKUP_NAME] = sellerInfo.organisationName
187
    shipment[F_PICKUP_ADDRESS_LINE1] = warehouseAddressObj.address
187
    shipment[F_PICKUP_ADDRESS_LINE1] = warehouseAddressObj.address
188
    shipment[F_PICKUP_ADDRESS_LINE2] = ''
188
    shipment[F_PICKUP_ADDRESS_LINE2] = ''
189
    shipment[F_PICKUP_PINCODE] = warehouseAddressObj.pin
189
    shipment[F_PICKUP_PINCODE] = warehouseAddressObj.pin
190
    shipment[F_PICKUP_MOBILE] = warehouseAddressObj.contact_number
190
    shipment[F_PICKUP_MOBILE] = warehouseAddressObj.contact_number
191
    shipment[F_PICKUP_PHONE] = warehouseAddressObj.contact_number
191
    shipment[F_PICKUP_PHONE] = warehouseAddressObj.contact_number
192
    
192
    
193
    shipment[F_RETURN_NAME] = warehouseAddressObj.contact_person
193
    shipment[F_RETURN_NAME] = sellerInfo.organisationName
194
    shipment[F_RETURN_ADDRESS_LINE1] = warehouseAddressObj.address
194
    shipment[F_RETURN_ADDRESS_LINE1] = warehouseAddressObj.address
195
    shipment[F_RETURN_ADDRESS_LINE2] = ''
195
    shipment[F_RETURN_ADDRESS_LINE2] = ''
196
    shipment[F_RETURN_PINCODE] = warehouseAddressObj.pin
196
    shipment[F_RETURN_PINCODE] = warehouseAddressObj.pin
197
    shipment[F_RETURN_MOBILE] = warehouseAddressObj.contact_number
197
    shipment[F_RETURN_MOBILE] = warehouseAddressObj.contact_number
198
    shipment[F_RETURN_PHONE] = warehouseAddressObj.contact_number
198
    shipment[F_RETURN_PHONE] = warehouseAddressObj.contact_number