Exemple #1
0
    def PUT(self,id):
        json_data=json.loads(web.data())
        my_orgnization=orgnization.set_data(json_data)
        result=orgnization.update_orgnization(id,my_orgnization)

        return sr.show_result(result)
Exemple #2
0
    def DELETE(self,id):
        result=credit.del_credit(id)

        return sr.show_result(result)
Exemple #3
0
    def PUT(self,id):
        json_data=json.loads(web.data())
        my_customer=customer.set_data(json_data)
        result=customer.update_customer(id,my_customer)

        return sr.show_result(result)
 def PUT(self,id):
     json_data=json.loads(web.data())
     my_credit_manage=credit_manage.set_data(json_data)
     result=credit_manage.update_credit_manage(id,my_credit_manage)
     
     return sr.show_result(result)
Exemple #5
0
    def POST(self):        
        json_data=json.loads(web.data())
        my_credit=credit.set_data(json_data)
        result=credit.create_credit(my_credit)

        return sr.show_result(result)
Exemple #6
0
    def PUT(self,operating_range_id):
        json_data=json.loads(web.data())
        range_name=json_data['range_name']
        result=operating_range.update_operating_range(operating_range_id,range_name)

        return sr.show_result(result)
Exemple #7
0
    def POST(self):
        json_data=json.loads(web.data())
        range_name=json_data['range_name']
        result=operating_range.create_operating_range(range_name)

        return sr.show_result(result)
Exemple #8
0
 def PUT(self,id):
     json_data=json.loads(web.data())
     my_credit_manage=credit_manage.set_data(json_data)
     result=credit_manage.update_credit_manage(id,my_credit_manage)
     
     return sr.show_result(result)
Exemple #9
0
    def DELETE(self,id):
        result=credit_manage.del_credit_manage(id)

        return sr.show_result(result)
Exemple #10
0
    def POST(self):
        json_data=json.loads(web.data())
        type_name=json_data['type_name']
        result=product_type.create_product_type(type_name)

        return sr.show_result(result)
Exemple #11
0
    def POST(self):
        json_data=json.loads(web.data())
        my_credit_manage=credit_manage.set_data(json_data)
        result=credit_manage.create_credit_manage(my_credit_manage)

        return sr.show_result(result)
Exemple #12
0
 def DELETE(self,product_type_id):
     result=product_type.del_product_type(product_type_id)
     return sr.show_result(result)
Exemple #13
0
    def PUT(self,product_type_id):
        json_data=json.loads(web.data())
        type_name=json_data['type_name']
        result=product_type.update_product_type(product_type_id,type_name)

        return sr.show_result(result)
Exemple #14
0
    def DELETE(self,id):
        result=orgnization.del_orgnization(id)

        return sr.show_result(result)
Exemple #15
0
 def DELETE(self,id):
     result=product.del_product(id)
     return sr.show_result(result)
Exemple #16
0
    def POST(self): 
        json_data=json.loads(web.data())
        my_users=users.set_data(json_data)
        result=users.create_users(my_users)

        return sr.show_result(result)
Exemple #17
0
    def POST(self):
        json_data=json.loads(web.data())
        my_product=product.init(json_data)
        result=product.create_product(my_product)

        return sr.show_result(result)
Exemple #18
0
 def PUT(self,id):
     json_data=json.loads(web.data())
     my_users=users.set_data(json_data)
     result=users.update_users(id,my_users)
     
     return sr.show_result(result)
Exemple #19
0
 def DELETE(self,operating_range_id):
     result=operating_range.del_operating_range(operating_range_id)
     return sr.show_result(result)
Exemple #20
0
    def DELETE(self,id):
        result=users.del_users(id)

        return sr.show_result(result)
    def POST(self):
        json_data=json.loads(web.data())
        my_credit_manage=credit_manage.set_data(json_data)
        result=credit_manage.create_credit_manage(my_credit_manage)

        return sr.show_result(result)
Exemple #22
0
    def POST(self): 
        json_data=json.loads(web.data())
        my_saler_target=saler_target.set_data(json_data)
        result=saler_target.create_saler_target(my_saler_target)

        return sr.show_result(result)
    def DELETE(self,id):
        result=credit_manage.del_credit_manage(id)

        return sr.show_result(result)
Exemple #24
0
 def PUT(self,id):
     json_data=json.loads(web.data())
     my_saler_target=saler_target.set_data(json_data)
     result=saler_target.update_saler_target(id,my_saler_target)
     
     return sr.show_result(result)
Exemple #25
0
 def PUT(self,id):
     json_data=json.loads(web.data())
     my_credit=credit.set_data(json_data)
     result=credit.update_credit(id,my_credit)
     
     return sr.show_result(result)
Exemple #26
0
    def DELETE(self,id):
        result=saler_target.del_saler_target(id)

        return sr.show_result(result)
Exemple #27
0
    def POST(self):
        json_data=json.loads(web.data())
        my_customer=customer.set_data(json_data)
        result=customer.create_customer(my_customer)

        return sr.show_result(result)
Exemple #28
0
 def PUT(self,id):
     json_data=json.loads(web.data())
     my_product=product.init(json_data)
     result=product.update_product(id,my_product)
     
     return sr.show_result(result)
Exemple #29
0
    def DELETE(self,id):
        result=customer.del_customer(id)

        return sr.show_result(result)
Exemple #30
0
    def POST(self):
        json_data=json.loads(web.data())
        my_orgnization=orgnization.set_data(json_data)
        result=orgnization.create_orgnization(my_orgnization)

        return sr.show_result(result)